Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:41 am EDT

Geeklog Forums

News Aggregator


Status: offline

sakata

Forum User
Junior
Registered: 12/17/01
Posts: 25
Location:Japan
Hi,
I created small funtions to show the latest updates of RSSs for other sites with geeklog.

1. add the following code to lib-common.php
2. add the second codes to lib-custom.php
3. edit the rdflists at the top of the function
4. call it from a staticpage which enable phps(the Third option)
5. You can put show it as center block if you wish Wink

You can change their appearances editting phpblock_rssAggregator functions.

As you see the following code, rdfFetch function is extracted from rdfImport. In my environment, I moved those code from rdfImport to rdfFetch and call it from rdfImport.
Is it a good idea? If so, I would suggest to add rdfFetch for official release.

I got the idea and some code from here for nucleus.

Sorry, I can't put the codes here because of some errors.
If there are some request, I would upload it somewhere.
 Quote

Status: offline

sakata

Forum User
Junior
Registered: 12/17/01
Posts: 25
Location:Japan
I have uploaded the file.
Please check the download section at
here.
 Quote

Joel Chen

Anonymous
I tried to add those lines unto pblic_html/lib-common.php and system/lib_custom.php.
Then add a new statistic page with only "echo phpblock_rssAggregator();" in it.
But it didn't work.
p.s. php function is on.
 Quote

All times are EDT. The time is now 10:41 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