I'm trying parse my blog posts with rss using feedparser and displaying it within the html tags. How i can display it within html ? Any help would be really appreciated.
I have tried it using it within the views.py and
def gspace(request):
d=feedparser.parse('http://glammingspace.blogspot.com/feeds/posts/defaultalt=rss')
r = d.entries[0].summary
response_html = '<br>'.join(r)
return HttpResponse(response_html)
I have tried to display it in html , something like this
{{request.gspace}}
but it doesn't work fine .. help me to do it in better way.