[wp-trac] [WordPress Trac] #5730: metaweblog.get post API problem

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 29 19:59:27 GMT 2008


#5730: metaweblog.get post API problem
---------------------+------------------------------------------------------
 Reporter:  seofeed  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.6      
Component:  XML-RPC  |     Version:  2.5      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 When retrieving the post content using the metaweblog api, the post
 content is returned without any <p> tags in most cases. In some cases, it
 seems to work depending on the post content, but not for all posts.

 Two examples:

 ---Example One: some <p> tags shown---

 SEO Feed's guide to the top 7 videos available covering Web 2.0. After
 scouring the web for the best videos out there covering Web 2.0 and its
 impact on consumers and businesses, these are the best of the best.

 <p><strong>7) 12 Days Of Web 2.0 Christmas</strong></p>
 <div align="center">
 <object height="350" width="425"><param name="movie"
 value="http://www.youtube.com/v/365I3i8a0N0"></param><param name="wmode"
 value="transparent"></param><embed
 src="http://www.youtube.com/v/365I3i8a0N0" type="application/x-shockwave-
 flash" wmode="transparent" width="425" height="350"></embed></object>
 </div>
 <p>This is too funny. Thought we should start the series out with a funny
 video. 12 marketing strategies for Web 2.0 sung by a guy driving a car. I
 wish it was Christmas time -:)</p>

 ---Example Two: No <p> tags shown---

 In a desperate attempt to gain search market share, software behemoth
 Microsoft is making another <a
 href="http://news.wired.com/dynamic/stories/M/MICROSOFT_YAHOO?SITE=WIRE&SECTION=HOME&TEMPLATE=DEFAULT"
 title="Microsoft To Buy Yahoo">bid to buy search giant Yahoo</a>. My first
 reaction is: Is Yahoo really that stupid? At first glance, this deal
 doesn't make any sense.

 Yahoo has such a powerful brand that thrives on community and
 <strong>millions of registered users</strong>. Microsoft is a distant
 third behind Google and Yahoo for search market share, so their interest
 and objective is obvious.

 ---End Examples---

 When I check the HTML in the actual Wordpress editor the <p> tags are not
 listed. I'm guessing this is where the problem lies. If I save the post
 with <p> tags included, then the same thing happens. The <p> tags are
 removed. This is happening in the latest version of Wordpress 2.3.2.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5730>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list