• How can I change shortcode to html or iframe with this plugin ?

    such as -> insert [shortcode] to wordpress -> wordpress post convert to <object width=”560″ height=”315″>… bla bla bla</object>

    I try to use google video xml plugin with this plugin but It can’t work.

    Thanks for your great plugin and I love it 🙂

    http://wordpress.org/plugins/related-youtube-videos/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris

    (@zenation)

    Hi,
    which google video xml plugin are you using? Could you give me the URL so I can take a look at it?

    Thread Starter kimjongfeel

    (@kimjongfeel)

    I use this … http://wordpress.org/plugins/xml-sitemaps-for-videos/

    or please suggest plugin to create google xml video sitemap that can use with your great plugin 🙂

    Plugin Author Chris

    (@zenation)

    Sorry but I don’t have a solution for that at the moment. As you were implying, the sitemap plugin is quering the database directly and searches the post content field for the term youtube.com

    ...AND post_content LIKE '%youtube.com%'...

    And only those posts will be parsed by using a regular expression to extract the meta data (title, width, height, etc)…

    On one hand that’s highly efficent, of course. But on the other hand no shortcode will be parsed at all (before the db search, I mean). So you can either have dynamic HTML code generation (like with the RYTV plugin) or you have to hard-code the HTML but then the dynamic relation would be gone.

    Writing your own sitemap plugin (or alter the existing one) might be best, I guess!?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change or convert shortcode to html or iframe code in post ?’ is closed to new replies.