I have a wordpress blog on my site.  On a TG page, I'd like to somehow
display the first first paragraph from the blog.

When I look at the RSS feed for the blog, there's a description node
that has exactly the text I want.

I see two ways to do this, but I hope somebody else has a better idea.
1. Hit the MySQL database from TG and extract the stuff I want in my
controller.  I don't really like this approach because it requires
going to another database.

2. Somehow grab the RSS feed off localhost, do some XML parsing to grab
the description section, and display that.

Like I said, I hope somebody has a better solution.

TIA

MAtt


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to