Getting media:content from wordpress gallery?

  • Unknown's avatar

    Hi, i want to know how to get the each image from the gallery in the Rss feed?

    By going the site, i get feed as,

    <item>
    <title>Movie one stills</title>
    <link>http://siteurl.com/movie-one-stills/</link>
    <pubDate>Thu, 29 Jan 2015 16:56:25 +0000</pubDate>
    
    <category>
    <![CDATA[ Gallery ]]>
    </category>
    
    <category>
    <![CDATA[ Trisha ]]>
    
    <category>
    <![CDATA[ Movie one stills ]]>
    </category>
    
    <description>
    <![CDATA[
    <p>The post <a rel="nofollow" href="http://siteurl.com/movie-one-stills/">Movie one Stills</a> appeared first on <a rel="nofollow" href="http://siteurl.com">Site name</a>.</p>
    ]]>
    </description>
    </item>

    It only provides the url in description & how should i get those images through feed? no Media:content or anything.

  • Unknown's avatar

    All WordPress blogs have multiple feeds built in. http://en.support.wordpress.com/feeds/

    This is the link for the RSS Feed for your Posts/not Pages.
    http://technoinnovation.wordpress.com/feed/
    Pages do not have RSS Feeds.

    After you publish posts with images embedded in them the media files will automatically appear in your RSS Feed for posts.

  • Unknown's avatar

    Ok, i’ve two questions.

    1. How do i get rid of this gravatar image which is adding automatically for each post when i add image. Already i had raised the question here but still no response https://en.forums.wordpress.com/topic/removing-gravatar-from-wordpress-feed?replies=1

    2. I want to get all posts feed by category. Suppose if i have a category, Hugh jackman, then i want to get all the posts that are related to hugh jackman i feed.

    I get those feed by http://www.siteurl.com/category/categoryname/feed/

    But, my problem is ..when i try to do like that, i didn’t get any media:content for gallery post which has many images. It justs giving the posts url & you can see that sample feed in my question. That’s what i was asking.

  • Unknown's avatar

    This is your blog’s feed. You see here :

    </media:content>
    	</item>
    		<item>
    		<title>Guest blogging for SEO gets the boot</title>
    		<link>http://onecoolsitebloggingtips.com/2014/01/24/guest-blogging-for-seo-gets-the-boot/</link>
    		<comments>http://onecoolsitebloggingtips.com/2014/01/24/guest-blogging-for-seo-gets-the-boot/#comments</comments>
    		<pubDate>Fri, 24 Jan 2014 16:52:20 +0000</pubDate>
    		<dc:creator><![CDATA[timethief]]></dc:creator>
    				<category><![CDATA[Better Blogging]]></category>
    		<category><![CDATA[Blog Promotion]]></category>
    		<category><![CDATA[Blogging Tips]]></category>
    		<category><![CDATA[Google]]></category>
    		<category><![CDATA[SEO tips]]></category>
    
    		<guid isPermaLink="false">http://onecoolsitebloggingtips.com/?p=22001</guid>
    		<description><![CDATA[Guest blogging for links and pay is big money business – illegitimate business.  Matt Cutts heads Google’s spam team and gives those using guest blogging for SEO purposes a boot in the butt. He approved 423 comments in response and the majority are from whiny protesters and nit-pickers who didn’t like his reality check. Matt…<img alt="" border="0" src="http://pixel.wp.com/b.gif?host=onecoolsitebloggingtips.com&blog=2598284&post=22001&subd=onecoolsite&ref=&feed=1" width="1" height="1" />]]></description>
    		<wfw:commentRss>http://onecoolsitebloggingtips.com/2014/01/24/guest-blogging-for-seo-gets-the-boot/feed/</wfw:commentRss>
    		<slash:comments>82</slash:comments>
    
    		<media:content url="http://1.gravatar.com/avatar/a06e31956f6f43b93f21157283898578?s=96&d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&r=G" medium="image">
    			<media:title type="html">timethief</media:title>
    		</media:content>
    
    		<media:content url="http://onecoolsite.files.wordpress.com/2014/01/rsz_mattguestblog1.jpg?w=300" medium="image">
    			<media:title type="html">Matt Cutts guest blog videos</media:title>
    		</media:content>
    	</item>

    In media:content, a gravatar is also included. when we post a gallery like multiple images, this gravatar comes at first. so, how to get rid this?

  • The topic ‘Getting media:content from wordpress gallery?’ is closed to new replies.