My favorites | Sign in
Project Logo
                
Search
for
Updated Jun 10, 2009 by haineault
SyncrRequest  
Discussion about adding new web service modules.

Syncr Module Requests

Keep track of requests for services to support in django-syncr and who is working on them here.

Web Services

Ideas

Management commands

Ideally Syncr apps should rely solely on settings.py for configuration. As so I think it would be possible to create a management command that would call an installed syncr app.

For example;

django-project/$: python manage.py syncr googlecode

Any thoughts, pros or cons ?

- haineault

Re: I'm a little confused... would the manage.py commands be used to actually sync a web service? For example, all Flickr settings are in settings.py, so when the user runs your management command a sync happens based on those settings.

In the case of Flickr, does it mean that everything is sync'd? Favorites list? How would this be defined in DJANGO_SETTINGS?

Re2: True, I didn't thought about dynamic settings stored in db. That might indeed cause a problem. On the other hand, how do you do it right now ? Personally I use a cron job for my syncs, so the settings are stored in settings.py anyway or else I would have to load django's ORM and hit the DB. I don't think one way is better than the other, I just took the obvious path.

Even if it was stored in the db, if the model are provided it's not that hard (well I think) to make the necessary hooks and fetch those settings from the db.

Re3: I've implemented a Syncr app for synchronizing Django with a Subversion repository, you can find it in branches/haineault/. For this app I've used the method I proposed and it turns out it was quite easy to implement. I've also created full documentation: SyncrSubversion


Comment by kit.churchill, Oct 31, 2008

How about adding support for using the upcoming.org API also?

Comment by yash888, Nov 01, 2008

Hmm. 'upcoming' would be an interesting module. We can do that. May be I will put up a working copy in a week.

Comment by iusgentium, Dec 11, 2008

friendfeed... Uniting syncr and django-friendly might be an idea!?

Comment by phoebebright310, Jan 30, 2009

Have urgent use of upcoming syncr. Just wondered if any progress on this?

Just added picasaweb to a site using syncr - so easy! Many thanks.

Comment by douga...@gmail.com, Feb 14, 2009

What about a generic RSS feed syncr? Would be pretty handing for things like Google Reader Shared items for example...

Comment by jbroy...@goecointegrated.com, Feb 17, 2009

It would be awesome to have tumblr and github support in it. You see there is a python-tumblr (http://code.google.com/p/python-tumblr/) out there.

Comment by bradford.mcgonigle, Feb 25, 2009

I would love to see something that could sync with my Google Reader shared items.

Comment by douga...@gmail.com, Feb 27, 2009

brad, Google reader releases your items as RSS... so a generic RSS reader like I suggested would work really well with this.

feedparser would make this fairly easy I think? (http://www.feedparser.org/) I might give it a shot just now actually

Comment by douga...@gmail.com, Mar 05, 2009

Something with for Github maybe? Looks like a fairly simple API

http://github.com/guides/the-github-api

Comment by nicksergeant2, Mar 23, 2009

I'd love to see some Vimeo action: http://www.vimeo.com/api

Comment by stuplum, Apr 10, 2009

tumblr and last.fm would be cool

Comment by thomas.welfley, Apr 15, 2009

First, let me just say that django-syncr is great. I owe you a beer, maybe three.

I'd love to see django-syncr pull down the actual images from flickr, not just the metadata.

Comment by jesse.legg, Jun 09, 2009

Do you mean have the actual flickr images stored on the filesystem (or with a storage module like Amazon S3 storage)?

Comment by yash888, Aug 02, 2009

Just committed tumblr syncr... Check it out!!!

Comment by jesse.legg, Nov 04, 2009

I think a simple public sync would be cool... it's been a long time since I experimented with OAuth, but I thought there was a mechanism for programmatically obtaining tokens outside of a web browser. Isn't it all just GET and POST requests? I'd love to understand why it wouldn't work if I'm wrong. Maybe it's possible, but too complicated/user-unfriendly... ?


Sign in to add a comment
Hosted by Google Code