new elements inside description element - custom feed syndication

2013-03-26 Thread surya
The description part in our project is divided into 3 types: snippet, link, file. Each entry might have any one of those.. So, is it possible to create elements like , inside ? I am not fully aware of RSS/Atom formats. it would be great if you shed some light on the best possible way to imple

Pubdate Missing from Syndication Feed

2012-05-20 Thread Jimmy
I have to be missing something simple. I cannot get the pubdate from my blog entries to show up in a syndication feed. Here is my model and feed class: feeds.py from django.contrib.syndication.views import Feed from blog.models import Entry from django.utils.feedgenerator import Rss201rev2Feed

Re: Post url incorrect on syndication

2012-03-14 Thread cubells
> cubells : > Hi all: In order to show my feeds blog I have a class: class BlogFeed(Feed): title = "MySite" description = "Some ramblings of mine" link = "/blog/feed/" def items(self): return Post.objects.all().order_by("-created")[:2] def item_title(self, item): return item.title def item_de

Post url incorrect on syndication

2012-03-13 Thread cubells
Hi all: In order to show my feeds blog I have a class: class BlogFeed(Feed): title = "MySite" description = "Some ramblings of mine" link = "/blog/feed/" def items(self): return Post.objects.all().order_by("-created")[:2] def item_title(self, item): return it

Tutorial: Custom Feed Generation using Django Syndication Feed Framework

2010-07-18 Thread Subhranath Chunder
Hi, I was working with Django syndication feed framework sometime back, and found the existing documentation missing certain things if you are planning for customizing your feeds. So, I just wrote up a tutorial to help others get started with it. If you want, you can find it here: http

Django GeoRSS syndication feed

2010-03-03 Thread Wayne Dyck
Has anyone created an example of how to incorporate a GeoRSS feed they would be willing to share? I have seen this link, http://code.djangoproject.com/ticket/6547 and understand that "feed_extra_kwargs" and "item_extra_kwargs" were added to allow this but I am drawing a blank on exactly how to sub

Re: Feed not available - Syndication - Django 1.1.1

2010-01-22 Thread Kenny Meyer
Kenny Meyer (knny.m...@gmail.com) wrote: > El 22/01/10 07:31, Kenny Meyer escribió: > > I'm trying to generate some feeds for my blog with Django's high-level > > Syndication Framework. > > My problem is, when browsing to the URL defined in the ``link`` > >

Re: Feed not available - Syndication - Django 1.1.1

2010-01-22 Thread Gonzalo Delgado
El 22/01/10 07:31, Kenny Meyer escribió: > I'm trying to generate some feeds for my blog with Django's high-level > Syndication Framework. > My problem is, when browsing to the URL defined in the ``link`` > attribute of the ``syndication.Feed`` model, there's no

Feed not available - Syndication - Django 1.1.1

2010-01-22 Thread Kenny Meyer
Hi guys, I'm trying to generate some feeds for my blog with Django's high-level Syndication Framework. My problem is, when browsing to the URL defined in the ``link`` attribute of the ``syndication.Feed`` model, there's no Feed generated/displayed. If not clear what I'm t

Replacing description field in syndication RSS feed

2009-10-14 Thread simong
I can create an RSS feed using the documentation for syndication and have tried to extend it using the MediaRSS format as described here: http://www.djangosnippets.org/snippets/1648/. This works up to a point: I'm testing with Firefox and it still doesn't display the media: exten

Re: syndication feed framework - how to reverse the urls?

2009-10-06 Thread anentropic
pic wrote: > >> Anyone?  Is it possible to reverse those urls? > > >> The feeds framework implementation seems like a dirty hack to urls.py > >> (but otherwise works great!) > > >> On Sep 29, 4:57 pm, anentropic wrote: > > >> > I've been setti

Re: syndication feed framework - how to reverse the urls?

2009-10-05 Thread Russell Keith-Magee
urls.py >> (but otherwise works great!) >> >> On Sep 29, 4:57 pm, anentropic wrote: >> >> >> >> > I've been setting up feeds using the syndication feed framework. >> >> > I have a line like this in my urls.py: >> >> >

Re: syndication feed framework - how to reverse the urls?

2009-10-05 Thread anentropic
anentropic wrote: > > > > > I've been setting up feeds using the syndication feed framework. > > > I have a line like this in my urls.py: > > >     (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', > > {'feed_dict'

Syndication: ttl attribute not working with Rss201rev2Feed?

2009-10-03 Thread janedenone
Hi, when using the ttl attribute for an RSS 2.0 feed, Django will throw an AttributeError ('int' object has no attribute 'replace'). This does not happen with Atom feeds. Is this a known issue? It can be easily reproduced with the following code: feed = Rss201rev2Feed(feed_object.title, feed_url

Syndication: Source of

2009-10-03 Thread janedenone
Hi, I wonder how the field for a feed is populated. For each item, I specify the pubdate upon initialization, but I don't see where Django grabs the feed-wide information. Grateful for any hint - Jan --~--~-~--~~~---~--~~ You received this message because you are

Re: syndication feed framework - how to reverse the urls?

2009-09-30 Thread anentropic
Anyone? Is it possible to reverse those urls? The feeds framework implementation seems like a dirty hack to urls.py (but otherwise works great!) On Sep 29, 4:57 pm, anentropic wrote: > I've been setting up feeds using the syndication feed framework. > > I have a line like this

syndication feed framework - how to reverse the urls?

2009-09-29 Thread anentropic
I've been setting up feeds using the syndication feed framework. I have a line like this in my urls.py: (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), How do I avoid hard-coding the feed urls

Access to session in syndication framework

2009-06-09 Thread kickdaddy
Quick question. In my syndication feed framework code, http://docs.djangoproject.com/en/dev/ref/contrib/syndication/ what is the best way to get access to the session? I don't have access to the request, and I can't use from django.contrib.sessions.backends.db import SessionStore

Re: Syndication Feed-Problem

2008-10-30 Thread Eric Abrahamsen
need to provide some templates in order to display the feed items as you want them to look, check out the documentation here: http://docs.djangoproject.com/en/dev/ref/contrib/syndication/#a-simple-example > > > Please help me! > > > > My urls.py config: > f

Syndication Feed-Problem

2008-10-30 Thread [EMAIL PROTECTED]
Hi, i hope any one can help me. I want to generate a rss-feed. The url ist http://localhost:8000/isf/info/. All works fine but the title of an Item and the Description are still the same! How can i change the title of an feed item in the feed to the title from the model and the description of the

About Syndication Feed Framework

2008-10-09 Thread lulalala
Hi everyone I recently had an idea about how personal writing management system by using a centralised repository and a feed factory. My site is at: http://www.lulalala.com/idea My friend pointed me to here because he said tje first few news websites using Django needed something similar. I am w

Re: Using Django Syndication for RSS Feed

2008-07-20 Thread Julien Phalip
Just found this via google: http://lexhair.wordpress.com/2007/08/29/rss-feeds-and-internet-explorer-6/ Apparently IE 6 and RSS are not friends... On Jul 20, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm trying to generate RSS feed for my site us

Using Django Syndication for RSS Feed

2008-07-19 Thread [EMAIL PROTECTED]
I'm trying to generate RSS feed for my site using Django's syndication framework. I'm having 2 issues: 1) While the generated feed gets displayed correctly in Firefox, Internet explorer v6x presents a 'save file as' prompt - like it doesnt recognize the incoming data a

Re: RSS Syndication and iTunes Tags

2008-05-22 Thread Gremmie
On May 21, 3:31 pm, Gremmie <[EMAIL PROTECTED]> wrote: > I was considering using django to generate an RSS feed for a podcast. > iTunes likes it very much if you add some non-standard tags to the > xml. Is this there a way to leverage the existing slick syndication > feature

RSS Syndication and iTunes Tags

2008-05-21 Thread Gremmie
I was considering using django to generate an RSS feed for a podcast. iTunes likes it very much if you add some non-standard tags to the xml. Is this there a way to leverage the existing slick syndication feature of django but also get these tags into the feed

Re: Syndication is generating bad url

2008-02-07 Thread Brian Luft
myself. In my django admin I had not properly set the > Site information when I went from the development server to the live > server. > > On Jan 7, 10:57 am, RevMatt <[EMAIL PROTECTED]> wrote: > > > I'm launching my first django site and am having an odd problem with &

Re: Having problem using the Syndication Feed Framework

2008-01-30 Thread Matt Davies
Hi Jeff This error NoneType' object has no attribute 'startswith' Usually means that you have got a NoneType obejct back from the database, and you can't very well ask what it starts with, computer says no. If I were you I'd spare an hour and go through the two screencasts on this page with Mic

Having problem using the Syndication Feed Framework

2008-01-29 Thread jeffself
I'm trying to get an understanding of the Feed Framework, so I've created a simple application to try it out. I have followed the steps that are in the documentation but I'm getting the following error when I go to this URL: "http://127.0.0.1:8000/feeds/news/": AttributeError at /feeds/news/ 'No

Re: Syndication is generating bad url

2008-01-07 Thread RevMatt
Figured it out myself. In my django admin I had not properly set the Site information when I went from the development server to the live server. On Jan 7, 10:57 am, RevMatt <[EMAIL PROTECTED]> wrote: > I'm launching my first django site and am having an odd problem with > synd

Syndication is generating bad url

2008-01-07 Thread RevMatt
I'm launching my first django site and am having an odd problem with syndication (I'm sure there are more problems, but that's what I'm hitting right now): the rss file is spitting out the links as "http://example.com[path]"; rather than "http://mydomain.co

Re: Consistency between Django syndication framework & generic views (at least)

2007-11-27 Thread [EMAIL PROTECTED]
Up, unless I need to move it to django-dev list ? On 20 nov, 14:30, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > After reading and viewing the screencast on syndication framework [1], > I let a comment on the site where the "obj" comes from ?

Consistency between Django syndication framework & generic views (at least)

2007-11-20 Thread [EMAIL PROTECTED]
Hello, After reading and viewing the screencast on syndication framework [1], I let a comment on the site where the "obj" comes from ? Michael points me to the right url and the answer in the doc [2] [1] <http://blog.michaeltrier.com/2007/10/17/django-screencasts- episode-00

Syndication

2007-09-27 Thread Sebastian Dahlgren
Hi! I've created a RSS-feed using the django.contrib.syndication package. It works fine on my dev-server (python manage.py runserver) but when I upload it to the Apache server that uses mod_python, I get this error: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most

{% url %} for syndication feeds

2007-09-10 Thread omat
Hi, Considering the following example in the documentation: http://www.djangoproject.com/documentation/syndication_feeds/#a-complex-example and a url pattern like this # ... (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}, name='feed_index'), # ... How can I u

Re: Syndication with kwargs from url

2007-07-26 Thread Mackenzie
Thanks for the help!!! --~--~-~--~~~---~--~~ 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 P

Re: Syndication with kwargs from url

2007-07-25 Thread Nathan Ostgard
You shouldn't be capturing the args yourself -- the syndication framework will automatically split up anything after the feed name and pass it to get_object on your Feed class. So, if "/feeds/latest/foo/ bar/" was requested, it would call your feed class with the bits ['foo&#x

Syndication with kwargs from url

2007-07-25 Thread Mackenzie
I am wondering how you can use args captured from your urls.py in a feed class example urls.py (r'^feeds/(?P.*)/(?P.*)/$', 'django.contrib.syndication.views.feed',{'feed_dict': feeds}), I then want to use myarg in my subclass of Feeds to do filtering on the objects for the feed. Thanks Macken

Re: Syndication for objects

2006-12-05 Thread [EMAIL PROTECTED]
Sorry about that - just realized that it was a problem with the browser (Safari), not Django! --~--~-~--~~~---~--~~ 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@

Syndication for objects

2006-12-05 Thread [EMAIL PROTECTED]
Hey Again, I am using the syndication framework to generate feeds for my site. With this, I want to have feeds which will list the posts in a category. To do this, I am currently using the following code: --- urls --- feeds = { 'post': latest_entries,

Re: Specifying a pub date with syndication

2006-12-05 Thread [EMAIL PROTECTED]
Suriya wrote: > [EMAIL PROTECTED] wrote: > > > def items(self): > > return Post.objects.order_by('-pub_date')[:5] > > > > The pub date is in Post > pub_date > > def items(self): > return [ i.pub_date for i in Post.objects.order_by('-pub_date')[:5] ] Thanks for posting this. Howe

Re: Specifying a pub date with syndication

2006-12-05 Thread Suriya
[EMAIL PROTECTED] wrote: > def items(self): > return Post.objects.order_by('-pub_date')[:5] > > The pub date is in Post > pub_date def items(self): return [ i.pub_date for i in Post.objects.order_by('-pub_date')[:5] ] --~--~-~--~~~---~--~~

Specifying a pub date with syndication

2006-12-05 Thread [EMAIL PROTECTED]
Hey, Just a quick question - what would I need to add to the following feed class to get pub dates for each item? class latest_entries(Feed): title = "oBeattie - Latest Posts" link = "/blog/" description = "Latest posts on oBeattie" def items(self):

Re: RSS syndication and URLs

2006-10-17 Thread Malcolm Tredinnick
On Tue, 2006-10-17 at 17:45 -0700, JHeasly wrote: > Just to verify, to get something like the "complex example" of the docs > (http://www.djangoproject.com/documentation/syndication/) to work -- > where feeds publish different data for different URL parameters -- is > ther

Re: RSS syndication and URLs

2006-10-17 Thread RajeshD
> with a URL like: > > http://www.foo.com/rss/the_slug/11344/bar/ > > and this from the URLConf: > > feeds = { > 'rss': CustomRSS, > > }supposed to work? To be consistent with your example URL above, that dictionary definition should read: feeds = { 'the_slug': CustomRSS, } > > It's my

RSS syndication and URLs

2006-10-17 Thread JHeasly
Just to verify, to get something like the "complex example" of the docs (http://www.djangoproject.com/documentation/syndication/) to work -- where feeds publish different data for different URL parameters -- is there anything special you need to do to the URLConf regex? Is (

Re: Syndication Question

2006-09-11 Thread Kenneth Gonsalves
On 09-Sep-06, at 11:45 PM, keukaman wrote: > I hope to get a bit of clarification on syndication. Does it need its > own app by running 'django-admin.py startapp feeds' or something > similar? http://www.djangoproject.com/documentation/syndication/#initialization -

Re: Syndication Question

2006-09-11 Thread James Bennett
On 9/9/06, keukaman <[EMAIL PROTECTED]> wrote: > I hope to get a bit of clarification on syndication. Does it need its > own app by running 'django-admin.py startapp feeds' or something > similar? No. You do need to have 'django.contrib.syndication' in your I

Syndication Question

2006-09-11 Thread keukaman
I hope to get a bit of clarification on syndication. Does it need its own app by running 'django-admin.py startapp feeds' or something similar? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: Syndication and authentication question

2006-07-22 Thread Ian Holsman
I did it like this on economy-chat.comfirst.. every link to the feed itself is unique, based on User-ID or session key.i have the following in my urls.py  (r'^feed/atom/(?P\d+)/(?P\d+)/(?P.+)/$', 'atomfeed'),  (r'^feed/atom/(?P\w+)/$', 'atomfeed'),  and the atomfeed view itself isdef atomfeed(reque

Re: Syndication and authentication question

2006-07-21 Thread Malcolm Tredinnick
s.feed'. If you have a look at that function in the source, you'll see it's pretty simple and just basically looks up the right function from your feed dictionary to call and passes it some parameters. You want to change the parameters that are passed to your side. So copy the feed()

Syndication and authentication question

2006-07-21 Thread afarnham
I am messing with feeds for the first time with Django and was wondering if there is anyway to do authentication (i.e. grab the session) from inside the my Feed class? I followed the high level framework example from the documentation page if that helps in understanding how I implemented this feed

Re: item_categories hooks in high-level syndication framework

2005-12-14 Thread James Bennett
On 12/14/05, Flavio Curella <[EMAIL PROTECTED]> wrote: > I think class django.contrib.syndication.feeds.Feed need > item_categories methods that allow use of categories also in high-level > syndication framework. A few days back, I posted a slightly different suggestion as

item_categories hooks in high-level syndication framework

2005-12-14 Thread Flavio Curella
I think class django.contrib.syndication.feeds.Feed need item_categories methods that allow use of categories also in high-level syndication framework. Something like this should work: # ITEM CATEGORIES --One of the following three is optional. The # framework looks for them in this

ANN: New syndication-feed framework (RSS and Atom)

2005-11-11 Thread Adrian Holovaty
All, I've added a new syndication framework to Django. It makes generating RSS and Atom feeds *very* easy. Man, it's so easy it probably shouldn't even be legal. "svn update" your code to get access to it, and read all about it at the brand-new syndicat