Hi,
It worked for me also, many thanks Robin.
I just had to correct something in the code, in the link: instead of
"viewrev" as action I replaced with "view" because action viewrev was
not understood in my wiki (0.9.840).
Jeremie
-----Original Message-----
From: yoavshapira(a)gmail.com [mailto:yoavshapira@gmail.com] On
Behalf Of Yoav Shapira
Sent: mardi 16 mai 2006 15:07
To: robin(a)soal.org; xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] RSS feed for an individual page?
Robin,
That seems to work very well! Thanks again ;)
Yoav
On 5/13/06, Yoav Shapira <yoavs(a)computer.org> wrote:
Robin,
This sounds promising -- I will try it out on Monday. Thanks!
Yoav
On 5/13/06, Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
> Hi,
>
> I don't think there's a per page RSS feed available by
default, but
> you could create one quite easily by doing
something like this:
>
> 1. Go to the class editor and edit the skin object 2.
Create a new
> TextArea property with the name
"pagefeed.vm"
> 3. Go to your skin and edit objects. Select the skin object and
> scroll to the pagefeed.vm testbox.
> 4. Paste in this code, or similar (I haven't tested it
extensively):
>
http://openmpt.xwiki.com/xwiki/bin/view/XWiki/PageFeed?xpage=code
> 5. Save
>
> We have just created a new template that generates an
Atom feed for
> the revision history of a document. So if we
view a page
with this
> template, instead of having the document
displayed in the
standard
> web page layout, we'll get its Atom
feed.
>
> To use the template, simply set xpage=pagefeed on the
query string.
> So you'll get a URL like this (click to
see corresponding feed):
>
http://openmpt.xwiki.com/xwiki/bin/view/Main/WebHome?xpage=pagefeed
>
> 6. You could now modify your sidebar to include a link to the
> current page's RSS feed like:
> Feed for this Page: <a href="$!tdoc.getExternalURL("Main.WebRss",
> "view", "xpage=pagefeed")"><img
src="$xwiki.getSkinFile("rss.gif")"
> border="0" alt="Atom feed for
this page" /></a>
>
> Is this suitable?
> Note: I'm not sure how well this will scale.
>
> Regards,
> Robin
>
> On 11/05/06, Yoav Shapira <yoavs(a)computer.org> wrote:
> > Hi,
> > Newbie user here, I apologize in advance if my question is an
> > obvious FAQ. I tried to research it myself with no luck. My
> > question is
> > simple: where can I find the changes feed for an
individual wiki page?
> >
> > I installed XWiki, everything is working fine,
including the feed
> > for all the changes which I access via
the little RSS button in
> > the bottom-right corner, which points to
> >
http://localhost:8080/xwiki/bin/view/Main/WebRss?xpage=rdf. So
> > far, so good. But my individual wiki pages don't seem
to have this
button.
> > Am I just missing something obvious?
> >
> > Thank you,
> >
> > Yoav Shapira
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
> > To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page:
> >
http://www.objectweb.org/wws
> >
> >
> >
>
>
>
>
> --
> You receive this message as a subscriber of the
xwiki-users(a)objectweb.org
mailing list.
To
unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
yoavs(a)computer.org /
www.yoavshapira.com
--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
yoavs(a)computer.org /
www.yoavshapira.com