[pmwiki-users] New recipe, PmFeed 0.01

H. Fox haganfox at users.sourceforge.net
Tue Jun 6 12:56:50 CDT 2006


On 6/6/06, Chris Cox <ccox at airmail.net> wrote:
> Roman wrote:
> > On 6/5/06, Chris Cox <ccox at airmail.net> wrote:
> >> I created yet another RSS feed displayer called PmFeed.  It uses lastRSS
> >> and embeds it (so you don't have to download separately).  I needed
> >> a good feed displayer, and the other recipes didn't work out well
> >> for me... so I figured I might as well share what I came up with.
> >
> > I like the lightweightness of this recipe.

I agree.  Nice job.

> > - It is recommended to have only one <h1> on a page, so I suggest to
> > change the feed title to <h2>
>
> Actually based on a suggestion I got from the list, I will
> make these configurable.  Just haven't made the change yet.
> You'll be able to change the element usage probably with
> variables...

FWIW I would prefer the heading not be a link because it's a non-XHTML
link that looks like an XHTML link in the page.  The URL of the feed
is available in the page source, which is "available enough".

> > - Is there a reason to have cache in wiki/pub directory? I would
> > choose a directory not accessible from outside.
>
> Hmmm... didn't know that most people made their pubs accessible.
> Just set $PmFeedCacheDir in your config.php to go somewhere
> else (before pmfeed.php is included).  Is there a better default?
> Feel free to suggest something.

wiki.d/cache

Hagan




More information about the pmwiki-users mailing list