<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8593298674675814902</id><updated>2012-02-16T02:19:09.395-08:00</updated><category term='tomboy'/><category term='about'/><category term='plug-in'/><category term='development'/><title type='text'>Pineapple Sync</title><subtitle type='html'>Linux sync tool for Pineapple branded (jailbroken) iphone and ipod touch</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pineapplesync.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-7187212613494449427</id><published>2010-01-02T04:10:00.000-08:00</published><updated>2010-01-02T04:11:10.653-08:00</updated><title type='text'>This project is dead</title><content type='html'>My iphone dies and i dont want spend more time work for apple just because she does not give support to my system setup. Switching to another mobile platform (probably android).&lt;br /&gt;&lt;br /&gt;Script+gui works for a time sync my notes with tomboy and camera roll to folder.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-7187212613494449427?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2010/01/this-project-is-dead.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/7187212613494449427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/7187212613494449427'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2010/01/this-project-is-dead.html' title='This project is dead'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-1799047443595645948</id><published>2009-06-21T20:56:00.000-07:00</published><updated>2009-10-23T06:14:26.079-07:00</updated><title type='text'>overloaded...</title><content type='html'>I have some things to do here, but im overload in my work and im also wait to install fw3.0 and avoid double work (re-work for fw3.0). Next week we come back : )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-1799047443595645948?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/06/i-have-some-things-to-do-here-but-im.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/1799047443595645948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/1799047443595645948'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/06/i-have-some-things-to-do-here-but-im.html' title='overloaded...'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-1601178294350521431</id><published>2009-06-02T03:51:00.000-07:00</published><updated>2009-06-02T03:52:18.055-07:00</updated><title type='text'>tomboy sync 95% done</title><content type='html'>After many many many bugs fixed and 2 logics to sync data, i have the tomboy plug-in almost done.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The trick part was something related with date. Iphone use a different timestamps &lt;a href="http://i.recipenow.net/i/time/"&gt;(unix count seconds from 1-jan-1970, iphone count from 1-jan-2001)&lt;/a&gt; ... but no problem.. solved.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Name collision in tomboy its fixed (no more angry tomboy complain with multiple screens) but we can loose data in the collisions. Im gonna fix that better.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Merge notes stil not done yet! if note got changes on both sides, we simple do not sync for now. Im looking for tools to merge (or i have to write a code to merge notes)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;As soon i finish this plugin 100%, im gonna move to detail the sync app, that make connection between iphone and plugin. Imagine the HTTP/CGI scenario... browser is the iphone, apache is the sync program and CGI script is the sync plug-in. In this scenario, i can have many plugins, that dont need to understand iphone ip, network or whatever. They are isolated/protected, and can focus into sync process. But i gonna write down that only after finish this plugin.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;The files are here (&lt;/span&gt;&lt;a style="font-weight: bold; font-style: italic;" href="http://dl.getdropbox.com/u/1187657/sync.pl"&gt;sync.pl&lt;/a&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt; and &lt;/span&gt;&lt;a style="font-weight: bold; font-style: italic;" href="http://dl.getdropbox.com/u/1187657/sync.db"&gt;sync.db&lt;/a&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;) Instructions to install and test &lt;/span&gt;&lt;a style="font-weight: bold; font-style: italic;" href="http://pineapplesync.blogspot.com/2009/05/first-tomboy-sync.html"&gt;you can get here&lt;/a&gt;&lt;span style="font-style: italic;"&gt; (remember to backup notes.db and tomboy data folder before)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-1601178294350521431?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/06/tomboy-sync-95-done.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/1601178294350521431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/1601178294350521431'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/06/tomboy-sync-95-done.html' title='tomboy sync 95% done'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-8310725023985556146</id><published>2009-05-26T01:39:00.000-07:00</published><updated>2009-05-26T02:02:31.592-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plug-in'/><category scheme='http://www.blogger.com/atom/ns#' term='tomboy'/><title type='text'>First tomboy sync</title><content type='html'>Its not finished, but its close to be! many bugs yet to finish and many to-do in the code yet to protect from disaster  soo... &lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;Use at your risk, make backups (tomboy folder and notes.db) before proceed. I am not responsible for any loss of data.&lt;/span&gt; : )&lt;br /&gt;&lt;br /&gt;Prepare to sync:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create a folder and put &lt;a href="http://dl.getdropbox.com/u/1187657/sync.db"&gt;sync.db&lt;/a&gt; and &lt;a href="http://dl.getdropbox.com/u/1187657/sync.pl"&gt;sync.pl&lt;/a&gt;&lt;/li&gt;&lt;li&gt;copy sync.db to sync.empty.db (just a backup in case you need re-start)&lt;/li&gt;&lt;li&gt;close tomboy&lt;/li&gt;&lt;li&gt;backup your tomboy data folder ( ~/.tomboy/ )&lt;/li&gt;&lt;li&gt;open tomboy&lt;/li&gt;&lt;li&gt;pray to do not have tomboy notes with same title as iphone notes (i did not fix title collisions yet)&lt;/li&gt;&lt;/ol&gt;To sync:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;close notes app into your iphone&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Copy notes.db from your iphone (at /User/Library/Notes) to your computer&lt;br /&gt;&lt;/li&gt;&lt;li&gt;run sync.pl (you see lot of debug and actions)&lt;/li&gt;&lt;li&gt;run sync.pl again  (now you see no note to change)&lt;/li&gt;&lt;li&gt;copy notes.db from your computer to your iphone&lt;/li&gt;&lt;li&gt;open notes app into iphone&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;I still have some issues to fix:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Notes with changes in both sides (tomboy and iphone) are not synced (i have to add merge logic).&lt;/li&gt;&lt;li&gt;New notes with same title in  tomboy and iphone enter in title collision. Tomboy do not like that! I have to handle this.&lt;/li&gt;&lt;li&gt;I dont know why, iphone create timestamps different than perl-sqlite module! The weirdo thing is iphone understand the date, but do not sort the notes correctly&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;have fun : )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-8310725023985556146?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/first-tomboy-sync.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/8310725023985556146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/8310725023985556146'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/first-tomboy-sync.html' title='First tomboy sync'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-6860277828997590178</id><published>2009-05-24T17:33:00.000-07:00</published><updated>2009-05-25T17:22:34.707-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plug-in'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='tomboy'/><title type='text'>Research tomboy notes sync</title><content type='html'>soo, lets try first to make my first plug-in and then move to GUI/connection tool.  I did not think now how to get notes.db from iphone or how to upload to iphone. For now, i just copy notes.db from my iphone and work local&lt;br /&gt;&lt;br /&gt;To make it clear to understand, let me explain my setup and tools im using to sync.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;i use bounjour/avahi in my ubuntu and same in my iphone. soo, i dont need know what hell is the internal IP of my iphone. i can use iphone name in any point of my ubuntu calls. in fact, to copy my notes.db, i just opne nautilus and enter sftp://mobile@neyfrota-iphone.local/User/Library/Notes into location (just replace neyfrota-iphone to your iphone name). Im gonna use this trick to make connection easy (but this is a gui problem and not plug-in problem)&lt;/li&gt;&lt;li&gt;To view, and crate sqlite databases, i install &lt;a href="apt:sqlitebrowser"&gt;sqlitebrowser&lt;/a&gt; (click to install)&lt;/li&gt;&lt;li&gt;To edit perl files i use &lt;a href="http://www.activestate.com/komodo_edit/features/"&gt;Komodo&lt;/a&gt; edit, but you can use vi hehehehehe&lt;/li&gt;&lt;li&gt;to interact with notes.db, im using sqlite perl module&lt;br /&gt;&lt;/li&gt;&lt;li&gt;to interact with &lt;a href="http://live.gnome.org/Tomboy/"&gt;tomboy&lt;/a&gt;, im using &lt;a href="http://arstechnica.com/open-source/news/2007/09/using-the-tomboy-d-bus-interface.ars"&gt;DBUS&lt;/a&gt;. in fact, this is the first time i learn about dbus, and, in my opinion, its veeeery nice!  I read the pyton examples, check how to use DBUS with perl and do the same in perl. its easy, not big problem.&lt;/li&gt;&lt;/ol&gt;Soo lets start. My sync tool, for now, need read notes.db using sqlite, read tomboy using dbus and do the magic. To control what notes i need to sync, im gonna use another sqlite table to write down informations about what note i need sync and what direction. Because i have lot of notes in my tomboy, im just sync tomboy notes belong o iphone notebook.&lt;br /&gt;&lt;br /&gt;you can get the 2 files now (&lt;a href="http://dl.getdropbox.com/u/1187657/sync.db"&gt;sync.db&lt;/a&gt; and &lt;a href="http://dl.getdropbox.com/u/1187657/sync.pl"&gt;sync.pl&lt;/a&gt;&lt;a href="http://dl.getdropbox.com/u/1187657/sync.pl"&gt;&lt;/a&gt;). At this point you need notes.db in the same folder. its not working yet (only add new notes from note.db to tomboy) , but ok to check code and get some insights : ) Im gonna try to comment better as possible&lt;br /&gt;&lt;br /&gt;in future, all sync-plugins will talk to main GUI app in the same way &lt;a href="http://en.wikipedia.org/wiki/Common_Gateway_Interface"&gt;CGI&lt;/a&gt; work. I did not think all points now, but im gonna know as soon i got this plugin working. This is the reason why i leave plgin in command line level only. Plgin develeoper do not need think about how to connect to iphone, how to deal with gui, just need ask for files, send commands, send files and all this commands will be placed in std-in std-out&lt;br /&gt;&lt;br /&gt;let me try to do this sync.pl work! maybe i have this ready in next week, so we can move to next step (or next bugs HAHAHAHAH)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-6860277828997590178?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/research-tomboy-notes-sync.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/6860277828997590178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/6860277828997590178'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/research-tomboy-notes-sync.html' title='Research tomboy notes sync'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-4405989337360337367</id><published>2009-05-24T17:16:00.000-07:00</published><updated>2009-05-24T22:46:29.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='about'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Master plan</title><content type='html'>I brainstorm a LOOOTTT before organize how the things will be (and i already know all points) after many days think, i organize the main points.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;because im perl spoken guy, im gonna use perl to do. With perl i can use perl-gtk and i know will work in any perl-gtk system. also in perl i have dbus , sqlite and many modules to help in my way&lt;/li&gt;&lt;li&gt;i need work with plug-ins. i cannot handle all work and i know the world is big with lot of people with opinions different than mine. Create a simple GUI application that handle iphone connection and user interface and leave what-to-sync in plug-in (in fact not plguin but a CGI interface) leave space to make things simple organized and open for people do whatever they want. I can make better way to connect to iphone without brake ay plug-in&lt;br /&gt;&lt;/li&gt;&lt;li&gt;i like simple gui app! i prefer gnome over kde, gnome over windows just because its simple. In fact, i'm gonna use my mother as ideal-user. If my mother can sync, i know all others average users can sync too.&lt;/li&gt;&lt;/ol&gt;Now that i know the main points,  lets attack one by one. Instead start from the main GUI app, i'm gonna start from bottom to top. First i need to know what i need in sync-plug-in level, then i'm gonna use my problem (sync gnome tomboy with iphone notes) as research and see how big is the problem&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-4405989337360337367?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/master-plan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/4405989337360337367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/4405989337360337367'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/master-plan.html' title='Master plan'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8593298674675814902.post-7866339489652077726</id><published>2009-05-24T16:14:00.000-07:00</published><updated>2009-05-24T22:46:06.582-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='about'/><title type='text'>Lets start!</title><content type='html'>&lt;span style="font-weight: bold;font-size:130%;" &gt;The problem&lt;/span&gt;&lt;br /&gt;OK. I have a problem and im gonna work for a solution. I have one pineapple brand iphone but no tools to sync with my ubuntu laptop, then i start research a way to do that.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The solution&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;soo, instead complain, i decide to do some scripts to sync my iphone to my ubuntu. To help others i decide to make-it public from the early stages. I dont have too much free time (lot work to do and many personal things to do) but i try to save all sundays to research, code, de-bug this project and gonna share all my painfull trial-and-errors patern here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Why to do from scrach?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Because i cannot find anything done. yes we have another good sync tools like &lt;a href="http://www.conduit-project.org/"&gt;conduit&lt;/a&gt; and even a notes to tomboy sync tool (i cannot find now) but all this options do not fit in "what is possible" and "simple view" that i think.... sooo.. &lt;a href="http://www.youtube.com/watch?v=6E2hYDIFDIU"&gt;im doing my way&lt;/a&gt;! (heheheh)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;About me&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I never write any desktop app. Im work in sysadmin playground and hard web developement. i speek portuguese, perl and then english. for more, &lt;a href="http://ney.frota.net/"&gt;click here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8593298674675814902-7866339489652077726?l=pineapplesync.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/lets-start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/7866339489652077726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8593298674675814902/posts/default/7866339489652077726'/><link rel='alternate' type='text/html' href='http://pineapplesync.blogspot.com/2009/05/lets-start.html' title='Lets start!'/><author><name>Ney Frota</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
