Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2006, 12:58 PM
photongbic photongbic is offline
 
Join Date: Oct 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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???
Reply With Quote
  #2  
Old 12-02-2006, 12:45 AM
photongbic photongbic is offline
 
Join Date: Oct 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thoughts?
Reply With Quote
  #3  
Old 12-02-2006, 03:42 PM
Jacksplat Jacksplat is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 12-05-2006, 02:17 AM
photongbic photongbic is offline
 
Join Date: Oct 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:39 PM.


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.03859 seconds
  • Memory Usage 2,187KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete