questions

0 views
Skip to first unread message

Bruce

unread,
Mar 1, 2008, 12:09:42 PM3/1/08
to django-atompub

Hi,

I'm a casual coder interested in putting together a custom CMS using
Django to manage a lot of my content (I'm a scholar): notes, articles,
blog posts, images, and maybe at some point presentations.

So a generic content model (that may be able to be subclassed) is
attractive to me, as is getting some of the benefits of
standardization with atom and atom pub.

I notice that the SVN and list have been quiet lately. Where are
things at with the project now, and is there a roadmap?

More basiclaly, would it make sense to base my project on django-
atompub? Or alternately, is the intent that django-atompub develop
such that it would be easy to turn an existing django app into one
that is atompub compliant?

Bruce

James Tauber

unread,
Mar 1, 2008, 1:52:43 PM3/1/08
to django-atompub

If your interest is in publishing a feed in the Atom syndication format,
then django-atompub is pretty much complete and certainly usable in
production with an existing django app model.

If you want to be able to post entries using the Atom publishing
protocol, then there is still a fair amount of work to be done. I am
actually hoping to get it to a usable state during the Django sprint at
PyCon, though (in two weeks).

The goal certainly is for the publishing protocol part to support
existing app models. The first step is to get it working with a fixed
model and then move to making it more generic.

Hope this helps!

James

On Sat, 1 Mar 2008 09:09:42 -0800 (PST), "Bruce" <bda...@gmail.com>
said:

--
James Tauber http://jtauber.com/
journeyman of some http://jtauber.com/blog/

Bruce

unread,
Mar 1, 2008, 4:07:08 PM3/1/08
to django-atompub


On Mar 1, 1:52 pm, "James Tauber" <jtau...@jtauber.com> wrote:

> The goal certainly is for the publishing protocol part to support
> existing app models. The first step is to get it working with a fixed
> model and then move to making it more generic.

Cool; thanks James.

So once you get to the stage you have that more generic support, how
are you envisioning that one would add atom pub support to an existing
model? For sake of argument, say I have a Project class that I want to
treat as an atom collection.

If you're not prepared to answer that ATM, that's fine; just curious.

Bruce

James Tauber

unread,
Mar 1, 2008, 4:45:51 PM3/1/08
to django-atompub

Mapping classes to collections probably isn't that difficult as they are
just collections of entries. So it would just be a case of providing a
function that, given an Atom Entry and an instance of your custom
Project class, knows how to add said entry to said Project.

I think the challenge will be specifying how an incoming Atom Entry maps
to an arbitrary object -- particularly how to map arbitrary XML in an
entries content. It's a generic XML data binding issue.

James


On Sat, 1 Mar 2008 13:07:08 -0800 (PST), "Bruce" <bda...@gmail.com>
said:
>
>
>

Reply all
Reply to author
Forward
0 new messages