This is a discussion on NewsDesk within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; To help with the RSS, here is the template to start with, need someone to add the database stuff to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| To help with the RSS, here is the template to start with, need someone to add the database stuff to call for the articles. header("Content-Type: text/xml"); $gmtdiff = date("O", time()); $gmtstr = substr($gmtdiff, 0, 3) . ":" . substr($gmtdiff, 3, 9); $now = date("m-d-Y H:i:s", time()); $now = $now . $gmtstr; echo "n"; echo "n"; echo "n"; echo "RSS Newsfeedsn"; echo "http://www.yourdomain.com/n"; echo "descriptionn"; echo "".$now."nn"; echo "hourlyn"; echo "1n"; echo "".$now."nn"; database{ echo "n"; echo "".$title."n"; echo "http://www.yourdomain.com/newsdesk_info.php?newsdesk_id=n"; echo "n"; echo "sales@yourdomain.comn"; echo "".$category."n"; echo "".$date."n"; echo "Posted byn"; echo "nn"; } echo " n"; echo "n"; More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NewsDesk | michael_s | New osCommerce Contributions | 0 | 11-29-2007 06:01 PM |
| NewsDesk | michael_s | New osCommerce Contributions | 0 | 11-29-2007 04:00 AM |
| NewsDesk | michael_s | New osCommerce Contributions | 0 | 03-12-2007 12:53 AM |
| NewsDesk | michael_s | New osCommerce Contributions | 0 | 02-26-2007 02:50 PM |
| NewsDesk v1.48.3 | coeus | osCMax v2 Customization/Mods | 15 | 09-12-2005 03:33 PM |