Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:45 am EST

Geeklog Forums

Jaykul news feed parser


john

Anonymous
I tried to use this in my geeklog static page and I uploaded the script as an include and in the page portion of the static page I used execute the php and it works except it puts the script xml above the header on my page and there is an error in line 100, 101, 102 and I cant figure out how to make it work. any help would be awesome
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
lines 100,101,102 have to do with a cache file, if you want to use a cache file you must create an xmlcache directory and point the script to it in the line (101)



Text Formatted Code
$cacheFile = fopen("xmlcache/".$cacheName,"w");

 


Alternatively you can just specify the first two parameters when you call parseurl!

eg.

Text Formatted Code
parseURL("http://www.flamingbird.com/public_html/backend/geeklog.rdf",10,false);
 


Hope this helps
Dazzy
 Quote

Jaykul

Anonymous
unfocused
did you get it working? Question
 Quote

All times are EST. The time is now 06:45 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