Welcome to Geeklog Tuesday, September 25 2018 @ 01:33 am EDT

Geeklog Forums

RDF parser mod for images?


Status: offline

n4th4n

Forum User
Chatty
Registered: 21/07/03
Posts: 47
Location:NY, USA
I notice that the hubblesite offers an RSS feed which also provides a tiny thumbnail jpg in the feed. Might someone post their ideas on how to hack the RDFparser in lib-common (I'm assuming that's what needs to be modified) to import and display this thumbnail? Slashdot has offered this for a long time I noticed.

The feed is here:
http://hubblesite.org/newscenter/rss.php

Status: offline

Chalkhillian

Forum User
Chatty
Registered: 23/09/02
Posts: 67
I have it working, a hack is required. Each version of GL will need a different hack.
PHP Formatted Code
http://scoha.com/geeklog/public_html/backend/geeklog.rdf
 
Have a look at what RSS 2.0 wants to place the image. The version on that site required a hack to lib_common, I can share that with you if you want. I can see that it would be prudent to do this right, create a CONF variable in config,php to point to the image link, and then modify the RSS class php file in 3.11 to insert the proper tags.

All times are EDT. The time is now 01:33 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content