Writing a blog importer for Pebble

View: New views
3 Messages — Rating Filter:   Alert me  

Writing a blog importer for Pebble

by Alan Burlison-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm going to write a custom importer to pull together the contents of
two blogs that I own and combine them into a single Pebble blog.  Both
source blogs support the MovableType export format but I need to do some
manipulation of the exports to bring the content into line, so I can't
use the existing Pebble MovableTypeImporter.java as-is.

I notice that there is also a RadioUserlandImporter.java and that uses
significantly different Pebble set-up code to that used in the MT
importer.  Which is the preferred way of doing this?  Are there any docs
or examples of how best to 'drive' Pebble from inside an application?

I'll be happy to donate the result of my efforts back to Pebble when it
is done.

Thanks,

--
Alan Burlison
--

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Writing a blog importer for Pebble

by Olaf Kock-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alan Burlison schrieb:
> Are there any docs
> or examples of how best to 'drive' Pebble from inside an application?

Hi Alan,

other than source code I'm not aware of any documentation for this.
Pebble's data storage format is quite simple and you can most likely
figure it out by creating a new posting or comment and look at the
resulting files in pebble's storage folder..

> I'll be happy to donate the result of my efforts back to Pebble when it
> is done.

I'll be happy to add it to the codebase

Cheers,

Olaf


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Writing a blog importer for Pebble

by Alan Burlison-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olaf Kock wrote:

> other than source code I'm not aware of any documentation for this.
> Pebble's data storage format is quite simple and you can most likely
> figure it out by creating a new posting or comment and look at the
> resulting files in pebble's storage folder..

I'm more interested in how to add blog entries programatically.  That
seems fairly straightforward, but the Pebble 'framework' needs
initialising before you start - and the two examples I mentioned do the
initialisation differently.  Which one is the one to follow, or is there
a better example?

--
Alan Burlison
--

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user