master
joey 2007-02-20 03:57:48 +00:00
parent 98200d6436
commit d4292494a8
2 changed files with 6 additions and 46 deletions

View File

@ -62,4 +62,9 @@ This works (although accessing `%IkiWiki::pagectime` is not too clever), but it
>> Yeah, it wasn't much of a description, was it? ;-) It's an attempt to emulate the style of Wordpress and other popular blog platforms, which can link a post's creation date to YYY/MM/DD archive pages, which then list all the relevant posts. My use-case is on a blog page which in-lines (via pagespecs) recent blog posts.
>> I agree with not adding this kind of functionality to the core. :-) I simply didn't want to have break links when I convert to IkiWiki. I guess I'll just play around with the page-creation thing myself then. Feel free to delete this from the queue. :-) --Ben
>> I agree with not adding this kind of functionality to the core. :-) I simply didn't want to have break links when I convert to IkiWiki. I guess I'll just play around with the page-creation thing myself then. Feel free to delete this from the queue. :-) --Ben
>>> Ah, I get it, I hadn't realized it was making the date into a link.
>>> No reason to delete this from the queue, it's a reasonable plugin. I
>>> might move it to the contributed plugins directory as it's a bit
>>> specialised to be included in ikiwiki though. --[[Joey]]

View File

@ -1,45 +0,0 @@
The _img_ plugin is part of the default install and requires _Image::Magick_.
> `img` is not enabled by default though. I don't want to list every module
> that some plugin can use in there, only the ones in the default install
> --[[Joey]]
>> Isn't it part of the `goodstuff` bundle, which is enabled in the `Makefile.PL`? I was testing out install on another box earlier and the build failed because `Image::Magick` wasn't installed; after `sudo cpan Image::Magick`, that error went away. --Ben
>> Here's the result of running `make` on a fresh checkout:
<pre>
[deletia]
LANG=C ./ikiwiki.in doc html --templatedir=templates \
--underlaydir=basewiki \
--wikiname="ikiwiki" --verbose --no-rcs \
--exclude=/discussion --no-discussion --userdir=users \
--plugin=goodstuff \
--plugin=haiku --plugin=polygen --plugin=fortune
Failed to load plugin IkiWiki::Plugin::goodstuff: Failed to load plugin IkiWiki::Plugin::img: Can't locate Image/Magick.pm in @INC (@INC contains: . /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7) at IkiWiki/Plugin/img.pm line 9.
BEGIN failed--compilation aborted at IkiWiki/Plugin/img.pm line 9.
Compilation failed in require at (eval 14) line 2.
BEGIN failed--compilation aborted at (eval 14) line 2.
BEGIN failed--compilation aborted at (eval 12) line 2.
make: *** [extra_build] Error 2
</pre>
>> After `sudo apt-get install perlmagick`, `make` gets past this point. (It then crashes on [[bugs/xgettext_issue]]).
<pre>
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 2675)
+++ Makefile.PL (working copy)
@@ -83,5 +83,6 @@
'Mail::Sendmail' => 0,
'HTML::Parser' => 0,
'URI' => 0,
+ 'Image::Magick' => 0,
},
);
</pre>