[pmwiki-users] PTVs in a URL

Jon Haupt jhaupt at gmail.com
Tue May 29 19:00:56 CDT 2007


On 5/29/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Tue, May 29, 2007 at 04:40:10PM -0500, Jon Haupt wrote:
> > Would it be possible to use a page text variable in a URL?  In
> > particular, I would like to construct an RSS feed link that returns
> > only pages that satisfy a PTV.  Like this:
> >
> > http://whatever.com/pmwiki/Main/HomePage?action=rss&$:YourVariable=1&count=5
> >
> > This doesn't seem to work.  Am I missing something, or is it just not
> > configured to work this way yet/ever?
>
> It should work.  It seems to be working for me on pmwiki.org:
>
> http://www.pmwiki.org/wiki?action=rss&group=Cookbook&$:Version=2007-05*
>
> Note that by default Main/HomePage?action=rss above expects
> Main/HomePage to have a trail on it that is used to construct
> the RSS feed.  If you want it to explicitly search the entire
> site, you need a group=, name=, or link= parameter that tells
> ?action=rss to use something other than a trail for the source
> of the feed.
>
> Pm
>
Ah good, thanks.  So, my example above works if I just do this:
http://whatever.com/pmwiki/Main/HomePage?action=rss&$:YourVariable=1&count=5&group=*

which is kind of a hack, but I had to tell it that I wanted any page
from any group that happened to satisfy that variable.

Jon



More information about the pmwiki-users mailing list