Go Back   The Apple Blog Community > Apple/Mac > Development
Register Social Groups iSpy Members List Search Today's Posts Mark Forums Read FAQ

Development XCode, Cocoa, and all other development

Reply
 
LinkBack Thread Tools Search this Thread
10-09-2007   #1 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
I only use dotmac for the sync feature and I decided that my $99 can be better spent. I quickly made an automator app that syncs for me to a server that I access between home and work. I made 1 app to upload the files for Safari and Address book and 1 app to download them. Does anyone know where Safari stores RSS feeds? I would like to try and sync my feeds too - the actual data of the feeds not the bookmarks. Does that make sense?
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-09-2007   #2 (permalink)
Personal Shopping Specialist
 
Ginamos's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 251
Ginamos has disabled reputation
I think, Safari RSS feed data is held in a SQLLite database called Database3 in User Library->Syndication.
Ginamos is offline   Reply With Quote
10-10-2007   #3 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
Thanks
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-10-2007   #4 (permalink)
Mac Genius
 
philbowell's Avatar
 
Join Date: Dec 2006
Location: Nottingham, UK
Posts: 918
philbowell is on a distinguished road
Send a message via AIM to philbowell Send a message via Yahoo to philbowell Send a message via Skype™ to philbowell
This is interesting. Does it actually sync the Address Book?

I'd be quite interested to give this a try, particularly if you get it working with Mail's RSS in Leopard.
__________________
My Mac's: 20" iMac Core Duo with 2gb RAM; 14" iBook G4
My Blog
philbowell is offline   Reply With Quote
10-10-2007   #5 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
I thought this was working but Im having an issue with the "download" side.

I've got the files to sync everything (RSS thanks to Ginamos) - let me outline what I'm trying.

The download side:

1. select the previous files in a folder called "sync"

2. move them to the trash

3. pull a ZIP file off my server that contains all the needed files.

4. open the ZIP file

5. select the needed Safari files

6. copy the file (with overwrite) to User Library/Safari

remaining steps: repeat for the other files to their locations.

The problem comes in with step 5 (and remaining steps that are the same) - you would think that when I save a location in Automator it would remember the location, right? The workflow works one time. When the files are replaced (when I sync again) automator doesn't recoginze where the files are - even though they are in the same place and are the same name.

I know I can manually move them where they go in about 10 seconds everyday, but where is the fun in that? Help me.
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-10-2007   #6 (permalink)
Concierge
 
mdmunoz's Avatar
 
Join Date: Nov 2006
Location: Davis, CA
Posts: 643
mdmunoz has disabled reputation
Send a message via AIM to mdmunoz
Try forcing the Automator script to organize the contents of the zip into folders within the sync folder (one folder for the RSS files, for example). Then in the "download" part, use Filter Finder Items to get the folder you are looking for and Get Folder Contents to get the relevant files. That way, you can get the right files every time and a nice folder structure in case something goes wrong and you want to do it manually (you don't have to search through a huge mess of random files).
__________________
Guy in the Hat
mdmunoz is offline   Reply With Quote
10-10-2007   #7 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
That's a good idea.

When I get this all figured out I'll post the workflow if anyone wants it, then you can just configure your folders (etc) based on the workflow.
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-10-2007   #8 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
Well it took some playing around with the settings but it appears to be working. For whatever reason some things that should work didn't. ex: find finder items - some things wouldn't work when searching by name but would work with searching by extension, and vice versa.

Here's the workflows - I'm syncing Safari items, Safari RSS, and the address book.
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-11-2007   #9 (permalink)
Personal Shopping Specialist
 
lonnie's Avatar
 
Join Date: Dec 2006
Location: -TeXaS-
Posts: 283
lonnie is on a distinguished road
Send a message via AIM to lonnie
I refined the workflow some more - there was a hiccup with the timing. I added a pause to slow it down a bit and added growl notifications. Same link as above.
__________________
2.4 GHz Intel Core 2 Duo 20" new slim black back iMac with 4 GB RAM | McKinleyBrown
lonnie is offline   Reply With Quote
10-11-2007   #10 (permalink)
Concierge
 
mdmunoz's Avatar
 
Join Date: Nov 2006
Location: Davis, CA
Posts: 643
mdmunoz has disabled reputation
Send a message via AIM to mdmunoz
Does that Growl notification action come with Growl, or did I get it from you just now? Because I didn't know there was one.
__________________
Guy in the Hat
mdmunoz is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 05:34 AM.




Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
© 2004-2008