Twitter plugin enhancements code review

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

Twitter plugin enhancements code review

by Timothy Stone-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have previously submitted a fix to the plugin that corrects the look  
up of properties (in the blog, not the user) table.

I have also taken on improving the Twitter notification plugin and  
added the use of bit.ly URLs to the "tweet." Don't know bit.ly? Think  
tinyurl on Web 2.0 social web steroids.

This new "enhancement" leverages the XOM (http://xom.nu/, XML Object  
Model) library to parse an XML response from the bit.ly service  
(available in JSON or XML).

The enhancement does not assume you want to use bit.ly, so the absence  
of properties in the blog will skip the bit.ly request.

Attached is the patch (plus XOM 1.1 library). XOM compiles Jaxen  
internally, so remove any Jaxen implementations you might have from  
$BLOJSOM_HOME/WEB-INF/lib. Jaxen provides XPath support to some XML  
libraries. Place xom-1.1.jar in $BLOJSOM_HOME/WEB-INF/lib.

On that note, I'm considering refactoring the varied XML libraries  
provided in the blojsom distribution with the XOM library. It really  
is a well thought out library for XML consumption and production.

Let me know what you think. There is some room for refactoring. I  
didn't get to fancy and welcome the review.

Regards,
Tim





------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

xom-1.1.jar (576K) Download Attachment
TwitterNotificationPlugin.patch (8K) Download Attachment
PGP.sig (266 bytes) Download Attachment