|
SyncrRequest
Discussion about adding new web service modules.
Syncr Module RequestsKeep track of requests for services to support in django-syncr and who is working on them here. Web Services
IdeasManagement commandsIdeally 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 |
Sign in to add a comment
How about adding support for using the upcoming.org API also?
Hmm. 'upcoming' would be an interesting module. We can do that. May be I will put up a working copy in a week.
friendfeed... Uniting syncr and django-friendly might be an idea!?
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.
What about a generic RSS feed syncr? Would be pretty handing for things like Google Reader Shared items for example...
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.
I would love to see something that could sync with my Google Reader shared items.
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
Something with for Github maybe? Looks like a fairly simple API
http://github.com/guides/the-github-api
I'd love to see some Vimeo action: http://www.vimeo.com/api
tumblr and last.fm would be cool
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.
Do you mean have the actual flickr images stored on the filesystem (or with a storage module like Amazon S3 storage)?
Just committed tumblr syncr... Check it out!!!
Photobucket?
I have build a photobucket module for syncr (because I'm using several of the other ones and it was an appropriate place to stick the code)
I would like to run this by you before I go off trying to submit the code though:
Photobucket uses oAuth as their authentication method, which breaks the current paradigm of syncr applications taking a username/password as strings.
What do you think? I could strip out the authentication so that it only syncs public photos and therefore only needs a username as a string
Let me know =)
Jim (jim.mixtake) on google's well know email system
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... ?