Yes, The link in my outlook rss message has the same URL. 
When you click the link 
(http://127.0.0.1:8000/tamoto_dev/default/show.rss/1) , the page retured 
just says: {"errors": {"body": "enter a value"}}

What is the solution?

Thank you,
Bill

On Saturday, October 2, 2010 1:36:15 PM UTC-5, Luther Goh Lu Feng wrote:
>
> Following either 
>
> link = 'http://' + str(request.env.http_host) + URL('show', 
> args=row.id) 
>
> or 
>
> link = "http://127.0.0.1:8000"; + URL('show', args=row.id) 
>
> I get the link in the rss feed to the wiki page as 
>
> http://127.0.0.1:8000/mywiki/default/show.rss/1 
>
> On Sep 26, 7:11 pm, "Martin.Mulone" <mulone.mar...@gmail.com> wrote: 
> > better way: 
> > 
> > link = 'http://' + str(request.env.http_host) + URL('show', 
> > args=row.id) 
> > 
> > On 26 sep, 06:30, Tom Atkins <minkto...@gmail.com> wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Thanks for the replies. I worked out what the problem is.  The code in 
> the 
> > > book is incorrect.  The line: 
> > 
> > > link = URL('show', args=row.id) 
> > 
> > > does not produce a full URL.  The RSS service does not like this and 
> fails. 
> > 
> > > If I replace it with: 
> > 
> > > link = "http://127.0.0.1:8000"; + URL('show', args=row.id) 
> > 
> > > then it all works fine.  I'm sure there is a more elegant way to fix 
> this! 
> > 
> > > Please update the example code in the book. 
> > 
> > > Thanks! 
> > 
> > > On 25 September 2010 19:08, mdipierro <mdipie...@cs.depaul.edu> 
> wrote: 
> > 
> > > > it depends on the model. You must have wiki fields and your action 
> > > > must return record in the format described by the book in chapter 3. 
> > 
> > > > Massimo 
> > 
> > > > On Sep 25, 12:34 pm, Tom Atkins <minkto...@gmail.com> wrote: 
> > > > > I've just copied and pasted from the online book the wiki 
> application in 
> > > > > chapter 3.  It all works great. 
> > 
> > > > > I've added the function for the rss feed to controller/default.py 
> and if 
> > > > I 
> > > > > go to: 
> > 
> > > > >http://127.0.0.1:8000/mywiki/default/news 
> > 
> > > > > I get a nice page showing the wiki entries. 
> > 
> > > > > However if I go to: 
> > 
> > > > >http://127.0.0.1:8000/mywiki/default/news.rss 
> > 
> > > > > I just get a message saying 'no rss'... 
> > 
> > > > > Am I doing something stupid or is the code in the book wrong / 
> > > > incomplete. 
> > 
> > > > > Thanks for any help.

Reply via email to