_herf should be _href On Saturday, September 20, 2014 12:17:55 PM UTC-4, Sif Baksh wrote: > > Newbie here, so I'm loving web2py. I'm using PythonAnywhere.com since > it's free and I can use it when I travel. > > So I've created the page below what will take Reddit.com Python RSS page > and display all the current Title and with a link to "read more" > When you try to click the link it's not clickable > > https://seefor.pythonanywhere.com/pyNewFeed/default/feed > > View page code: > {{extend 'layout.html'}} > <h1>This is the default/feed.html template</h1> > > > {{items = ['a', 'b', 'c']}} > <ul> > {{for item in entries:}}<li>{{=item.title}}<br>{{=A('read more..', > _herf=(item.link))}}</li>{{pass}} > </ul> > > <ul> > {{for item in entries:}}<li>{{=item.link}}</li>{{pass}} > </ul> > > > #for post in d.entries: > # print post.title + ": " + post.link + "\n" > > > Here is the code that get's generated on view page. Did I do something > wrong? > > <li>profiling — An interactive Python profiler<br><a herf=" > http://www.reddit.com/r/Python/comments/2gy9mt/profiling_an_interactive_python_profiler/">read > > more..</a></li> > > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.