You Are Here:

Community: Developer Discussion Boards

#1 Old Lightbulb Starting a wordpress client for S60 written in Python - 2008-12-05, 01:22

Join Date: Nov 2007
Posts: 318
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
Hi,

I would like to announce my recent project, called wordmobi. It is an S60 client for wordpress written in Python, helping you to manage your blog while saving time and bandwidth. Common blog operations, like posting, approve comment, post delete, comments visualization, for instance, are possible using wordmobi. It is possible to use wordmobi with self hosted wordpress site as well.

The project URL is below:

http://code.google.com/p/wordmobi/

Comments, bug reporting and help are welcome !


Marcelo Barros

http://wordmobi.wordpress.com
http://jedizone.wordpress.com
marcelobarrosalmeida (at) gmail (dot) com

---------------------------

In time: I reuse python code from different sources and ported some known modules, like BeautifulSoup. I would like to cite them here, since may be useful for someone.

* wordpresslib by Michelle Ferretti
http://www.blackbirdblog.it/programmazione/progetti/28

It was necessary some modifications since python 2.2
does not support yield statement. I have added new
methods as well for comments and post titles.

* datetime module for S60
http://wiki.opensource.nokia.com/pro...python_modules
http://cyke64.googlepages.com/datetime.py

* Missing python files, like xmlrpclib.py and xmllib.py were copied from standard python 2.2.3 distribution
http://www.python.org/download/releases/2.2.3/

* openssl.exe borrowed froms tunnel project
http://www.stunnel.org/about/credits.html

* Python proxy code found at activestate site, by Vaibhav Bhatia
http://code.activestate.com/recipes/523016/
http://code.activestate.com/recipes/users/4007166/

* Small routine for converting from html to utf-8 in wmutil.py by Ben C.
http://mail.python.org/pipermail/pyt...il/378536.html

* Beautiful soup HTML/XMP parser
http://www.crummy.com/software/BeautifulSoup/

It was necessary to remove any reference for sets (only available since
python 2.3)
Reply With Quote

#2 Old Re: Starting a wordpress client for S60 written in Python - 2008-12-05, 01:48

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Hi Marcelo,

Good to see brazilian developers showing out some cool software

Will give it a try later

Keep it up!


BR,

Rafael.
Reply With Quote

#3 Old Re: Starting a wordpress client for S60 written in Python - 2008-12-05, 03:57

Join Date: Dec 2008
Posts: 1
simonhu
Offline
Registered User
it seems doesn't work with 1.4.5 runtime.
Reply With Quote

#4 Old Re: Starting a wordpress client for S60 written in Python - 2008-12-05, 08:55

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by marcelobarrosalmeida View Post
* wordpresslib by Michelle Ferretti
http://www.blackbirdblog.it/programmazione/progetti/28

It was necessary some modifications since python 2.2
does not support yield statement. I have added new
methods as well for comments and post titles.
Python 2.2 supports generators and the yield statement if you add this to the beginning of a file:

Code:
from __future__ import generators
Reply With Quote

#5 Old Re: Starting a wordpress client for S60 written in Python - 2008-12-05, 09:49

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by marcelobarrosalmeida View Post
Hi,


It was necessary to remove any reference for sets (only available since
python 2.3)
There are already two implementation of set for 2.2
You saw the datetime on my site but not the sets (From Hettinger)
sets has been ported to 2.2 and 2.3 from 2.4 !
You can find it HERE

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Last edited by cyke64 : 2008-12-05 at 09:59.
Reply With Quote

#6 Old Re: Starting a wordpress client for S60 written in Python - 2008-12-05, 19:06

Join Date: Nov 2007
Posts: 318
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
A lot of (good) things show up when you share your code ...

Thanks for comments and suggestions, folks.

Right now I am doing a complete refactoring ... I think first implementation is hard to be good enough and the current one is a little bit messy and difficult to maintain, although it is working.

I will considerer your tips, course !

simonhu: By the way, I tested with PythonForS60 1.4.5... Strange. Could you follow the discussion below and help me to debug ?

http://code.google.com/p/wordmobi/is...ail?id=9&can=1
Last edited by marcelobarrosalmeida : 2008-12-05 at 19:14.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help installing Python libraries on S60 ericroijen Python 11 2009-07-18 11:43
[announce] PyUIQ. Python for UIQ 2.1 and 3.x OscarBernabeu Python 35 2008-01-17 10:12
3rd Ed emulator crashes when starting Python scripts andrew_ramsay Python 4 2007-01-16 11:51
Help! Loading self written DLL and in S60 Python alviskoon Python 3 2006-12-13 11:45
Starting with Python 60 Churde Python 1 2006-12-12 13:52

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia