<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
RSS ? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: RSS ?
#1170
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos a-bet.info abetinfo
RSS ? 2 Years, 3 Months ago Karma: 0  
Hello all.

Is it possible to add RSS? If yes how do we do that? I have never worked on RSS installation, so any help is welcome
 
Report to moderator   Logged Logged  
 
links.a-bet.info ... we share it all!
  The administrator has disabled public write access.
#1171
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:RSS ? 2 Years, 3 Months ago Karma: 9  
Inspired by your post I started writing a routine to generate an RSS of the latest entries
in your directory, will hopefully have it ready in a few days, providing I have the time and motivation.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1172
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos a-bet.info abetinfo
Re:RSS ? 2 Years, 3 Months ago Karma: 0  
Ah thats nice to hear ... Make a reply here when you are done with it, please
 
Report to moderator   Logged Logged  
 
links.a-bet.info ... we share it all!
  The administrator has disabled public write access.
#1173
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos a-bet.info abetinfo
Re:RSS ? 2 Years, 3 Months ago Karma: 0  
I see you are on line, so why not grab the opportunity to ask you something extra!

Is it possible to integrate phplinks in to a joomla site? Has anyone done something like this before?
 
Report to moderator   Logged Logged  
 
links.a-bet.info ... we share it all!
  The administrator has disabled public write access.
#1178
Kosiii (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
gregykos a-bet.info abetinfo
Re:RSS ? 2 Years, 3 Months ago Karma: 0  
Dewed ... do u have any examples realated to my last post?
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/11/07 14:18 By Kosiii.
 
links.a-bet.info ... we share it all!
  The administrator has disabled public write access.
#1181
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:RSS ? 2 Years, 3 Months ago Karma: 9  
I have seen sites that have embedded DNPL in Joomla, but I'm sorry, I have no information on doing so.

I did however finally get a simple RSS routine together.. It's pretty short so I'll just paste it here. I named mine latestrss.php and it is in the same directory as the "directory" file, above the /include and /admin directories.

Code:

<?php // CONFIG // set the count number to the number to the number of entries to show // Then edit the feed <title>, <link> and <description> tags. $count = 25; header("Content-Type: application/xml; charset=UTF-8"); echo '<'.'?xml version="1.0"'.'?'.'>'.' <rss versioin="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule"> <channel> <title>Your feed title</title> <link>http://www.YOURWEBSITE.com</link> <description>Your site description </description> <language>en-us</language> '; // END CONFIG // get DB connect info and table names require("./include/config.php"); // connect to db if(mysql_connect($dbhost, $dbuser, $dbpasswd)){ mysql_select_db($dbname); } else { echo mysql_error(); echo 'Could not connect to the database'; exit; } // get latest entries $query = "SELECT * FROM `".$tb_links ."` ORDER BY Added DESC LIMIT ".$count; $result = mysql_query("$query"); while ($row = mysql_fetch_assoc($result)) { echo "\r\n\t".'<item> <title>'.htmlentities(stripslashes($row['SiteName'])) .'</title> <link>'.htmlentities($row['SiteURL']).'</link> <description> '.htmlentities(stripslashes($row['Description'])) .' </description> <pubDate>Sun, 29 Sep 2002 11:13:10 GMT</pubDate> </item>'."\r\n"; } ?> </channel> </rss>
Not particularly elegant, but it works
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/11/08 15:59 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008