Hello everyone, pretty new to this stuff so please bear with me. I've written a simple bit of python in my mytags directory to output our aggregated feeds form our feedjack application that we built last week.
<code>def rssfeeds(request, slag): import feedparser if slag == 'researchnews': d = feedparser.parse("http://feedjack.glam.ac.uk/researchnews/feed/ rss") e = d['entries'] return render_to_response('feeds/glamblogs.html', {'shabba': e, }) if slag == 'glamblogs': d = feedparser.parse("http://feedjack.glam.ac.uk/glamblogs/feed/ rss") e = d['entries'] return render_to_response('feeds/glamblogs.html', {'shabba': e, })</ code> Here's the snippet from the urls.py (r'^rssfeeds/(?P<slag>\S+)/ $','fact.mytags.templatetags.feeders.rssfeeds'), This works fine, I can go and browse the different aggregated feeds based on what I put after the /rssfeeds url. One of our designers wants me to put one of the ouputs into a sectino of a page defined by a template. If I was using php I'd simply include the URL on the page. Is there something similar I can use in django, if not, I'm not sure if I should use inclusion tags or simple tags, or how to use either of them ;-) Any help would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---