Log in

View Full Version : Any Intrest in a syndication hack?


Dave#
09-24-2001, 09:23 AM
Anyone intrested - should I document this?

This hack allows webmaster to provide syndicated VB content to other webmasters such as Latest topics, Latest Polls or calendar entries to other webmasters for inclusion on their websites. The webmasters using the feeds do NOT need PHP, PERL, MYSQL, ASP just a javascript enabled browser.

Requirements

* Crontab
* The ability to run PHP via the command line

In action- stick this code in a html file and it should be fairly self explanatory

<script src="http://cpfc.org/forums/latest_topics.txt"></script><noscript>To see the latest news, you need a browser that supports JavaScript.</noscript><p>Powered by <a href="http://www.cpfc.org">www.cpfc.org</a></p>

If their is enough intrest I will document this

Neo
09-24-2001, 09:26 AM
thats would be interesting, i would like to see it

Goldfinger
09-24-2001, 10:54 PM
This would be a really cool hack :D.

chrispadfield
09-24-2001, 11:35 PM
Yes dave, that would be great.

p.s. PHP can be run through the command line (and thus via cron) if it is an apache module by using lynx to run the script. Just thought you might be interested.

Dave#
09-25-2001, 10:47 AM
Originally posted by chrispadfield
Yes dave, that would be great.

p.s. PHP can be run through the command line (and thus via cron) if it is an apache module by using lynx to run the script. Just thought you might be interested.

The way I'm doing it is

/path/to/php/binary /path/to/php/script.php > /path/to/output.file

It's surperbly fasy


I'll write this up soon and post it :)

Alien
09-25-2001, 12:58 PM
Excellent idea, I look forward to checking this out Dave!

MoneyTec.Com
12-05-2001, 06:47 PM
where can I find this hack?

Lesane
12-05-2001, 07:26 PM
Originally posted by MoneyTec.Com
where can I find this hack?

http://vbulletin.org/forum/showthread.php?s=&threadid=28872