Welcome to Geeklog Thursday, June 20 2019 @ 07:11 pm EDT

Geeklog Forums

News Aggregator


Status: offline

sakata

Forum User
Junior
Registered: 17/12/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

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.

Status: offline

sakata

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

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.

All times are EDT. The time is now 07:11 pm.

  • 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