vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Show images in RSS Feeds (https://vborg.vbsupport.ru/showthread.php?t=132698)

photongbic 11-28-2006 12:58 PM

Show images in RSS Feeds
 
I would like to have the built-in (vb3.6.x) RSS Feeds system display images from media:thumbnail. It seems that others are wanting this but no one has responded to them. I have asked in vBulletin.com and there seems to be no interest in doing this in the source.

I get news feeds from Yahoo Photos. They have the image in the feed but vb3.6.x RSS Feeds can't display them. I would like to know what needs to be modded (includes/class_rss_poster.php ?) so that I can display them.

Example of Yahoo Photos RSS feed:
Quote:

<item>
<title>
An unidentified Hawaiian motorcycle police officer lies on the ground after an
</title>
<link>
http://us.rd.yahoo.com/dailynews/rss...ffac9a0d6d8fd4
</link>
<guid isPermaLink="false">
http://us.rd.yahoo.com/dailynews/rss...ffac9a0d6d8fd4
</guid>
<pubDate>Mon, 27 Nov 2006 00:29:55 GMT</pubDate>
<description>
An unidentified Hawaiian motorcycle police officer lies on the ground after an accident as President Bush 's motorcade heads to breakfast at Hickam Air Force Base in Honolulu, Hawaii, in this Tuesday, Nov. 21, 2006 file photo. Motorcycle officer Steve Favela, 30, who was injured last week while escorting President Bush in the islands died of his injuries Sunday, Nov. 26, 2006 police said. It is not known if Favela is the officer pictured.
</description>
<media:thumbnail url="http://us.news1.yimg.com/us.yimg.com/p/ap/20061127/thumb.6b07c1f10978419887ffac9a0d6d8fd4.bush_motorc ade_crash_ny114.jpg" height="75" width="129"/>
</item>
Here the media:thumbnail tag has the url for the image I want to display.

I would like to be able to use something like {rss:media:thumbnail} in Body Template (from RSS Feeds) to display the full sized image in the post.

Any PHP gurus with spare time out there???

photongbic 12-02-2006 12:45 AM

Thoughts?

Jacksplat 12-02-2006 03:42 PM

im very new to vb so please consider my help with a grain of salt.

I had the same problem for most of my feeds, the common factor was each one didnt have HTML enabled in the forum manager. After enabeling HTML each feed showed the images just fine.

Hope that gets you in the right direction.

photongbic 12-05-2006 02:17 AM

I tried that previously and unfortunately, it doesn't help. It seems that since the image is in a media:thumbnail tag, RSS Feeds ignores it. If it was in the description tag, that would probably work just fine.

Thanks for trying to help me out!

Are you using Yahoo News Photos too?


All times are GMT. The time now is 05:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete