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
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
> 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
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
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
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
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``
> >
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
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
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
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
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:
>>
>> >
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'
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
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
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
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
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
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
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
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
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
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
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
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
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
&
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
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
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
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
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 ?
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
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
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
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
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
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
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@
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,
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
[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] ]
--~--~-~--~~~---~--~~
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):
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
> 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
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
(
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
-
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
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
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
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()
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
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
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
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
54 matches
Mail list logo