Serendipty the Moblog (mobile blog)?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Serendipty the Moblog (mobile blog)?

Post by wesley »

While I have been successful in posting entries on a PocketPC PDA using
Picsel Browser (Pocket Internet Explorer fails because of lack of IFRAME
support), both reading and writing the entries on the PDA is quite...
cumbersome. Crowded. Slow.

I'm thinking about having a 'moblog' concept where there would be an
'optimized for tiny screens' theme, an URL that automatically activates
the said theme instead of the default theme, and an admin interface that
also works okay with the limited screen size and functionality of a mobile
web browser. I think the 'look' part is completely controllable by the
template system.

So the thing needed is to make it possible for the user to choose a theme
template just by passing a certain string on the URL. It would be like, if
the root of the blog is http://www.golb.com/ you could choose a template
by entering something like http://www.golb.com/pda . If this becomes
possible then I can create a whole template that looks nice on small
screens.
I make s9y plugins, too.
My s9y blog depends on them. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Serendipty the Moblog (mobile blog)?

Post by garvinhicking »

For posting entries, did you look at XML-RPC functions? That would be much easier (though not supporting all features of s9y).

About choosing a theme depending on the URL scheme is quite easy. You can use the same facility as with staticpages - hook in the "frontend_configure" hook, grep the URL for your template setting and then just change $serendipity['template'].

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for sharing! That is one wicked hack, but it does the job pretty well. Though I do prefer the use of a seperate plugin that switches TPL/CSS files in s9y. ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply