|  Posted Jul 7, 2006 by Take your Gosho off, you won't feel the benefit "In order to view RSS feeds you will need to use a feed reader (or news reader)"
Or you could just download the latest version of Opera - it has one built-in. Won't be too long before other browsers follow suit I suspect.
| 
 
|  | |
|  |
 Posted Jul 7, 2006 by Scandrea Safari for Mac has one, too!
| 
 
|  | |
|  |
 Posted Jul 7, 2006 by Zak T Duck Firefox does too, although it calls them "live bookmarks"
| 
 
|  | |
|  |
 Posted Jul 7, 2006 by RFJS__ - trying to write an unreadable book, finding proofreading tricky That isn't a reader as such: it's an automatically updating list of pages. A reader in Firefox would be an extension like Sage, for example, that gets the content of each page in the list and displays it together rather than requiring you to visit the individual pages.
| 
 
|  | |
|  |
 Posted Jul 9, 2006 by laconian Safari has one? I can't find it, but perhaps there's a new version for OS X Tiger. I'm on Panther.
| 
 
|  | |
|  |
 Posted Jul 9, 2006 by Táralómë MacHead Which version of Safari? How does it work?
| 
 
|  | |
|  |
 Posted Jul 8, 2007 by TRiG (Ireland) Human rights under attack in Uganda. Look it up. Excellent coverage on the blog "Box Turtle Bulletin" Or, on a localhost server, create reader.php
Following Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Feed Reader</title> </head> <body> <h1>Enter RSS feed information here</h1> <form method="GET" action="feeds.php"> URI<br /> <input type="text" name="rss_uri" size="70"><br /> Title<br /> <input type="text" name="title" size="15"><br /> <input type="submit" value="Send info"> </form> <?php print "<p>".date("Y-m-d H:i:s")."</p>"; ?> </body> </html>
Then create feeds.php
Following Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
$feed=$_GET["rss_uri"]; $title=$_GET["title"];
print "<html>\n<head><title>".$title."</title></head>\n<body>\n<dl>";
$insideitem = false; $tag = ""; $title = ""; $description = ""; $link = "";
function startElement($parser, $name, $attrs) { global $insideitem, $tag, $title, $description, $link; if ($insideitem) { $tag = $name; } elseif ($name == "ITEM") { $insideitem = true; } }
function endElement($parser, $name) { global $insideitem, $tag, $title, $description, $link; if ($name == "ITEM") { printf("<dt><b><a href='%s'>%s</a></b></dt>", trim($link),htmlspecialchars(trim($title))); printf("<dd>%s</dd>",htmlspecialchars(trim($description))); $title = ""; $description = ""; $link = ""; $insideitem = false; } }
function characterData($parser, $data) { global $insideitem, $tag, $title, $description, $link; if ($insideitem) { switch ($tag) { case "TITLE": $title .= $data; break; case "DESCRIPTION": $description .= $data; break; case "LINK": $link .= $data; break; } } }
$xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); $fp = fopen($feed,"r") or die("Error reading RSS data."); while ($data = fread($fp, 4096)) xml_parse($xml_parser, $data, feof($fp)) or die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); fclose($fp); xml_parser_free($xml_parser);
?> </dl>
<p><a href="http://www.sitepoint.com/article/php-xml-parsing-rss-1-0" title="HP and XML: Parsing RSS 1.0">Sitepoint.com</a></p>
</body> </html>
I actually understand some of the above. It's slightly edited (by me) from the one in Sitepoint. I understand the edits I made, but not much of the rest of it.
TRiG.
<trainee-geek>
| 
 
|  | |
|  |
 Posted Jul 18, 2007 by Táralómë MacHead
Okay, I can copy and paste the code. How do I create reader.php?
| 
 
|  | |
|  |
 Posted Jul 18, 2007 by TRiG (Ireland) Human rights under attack in Uganda. Look it up. Excellent coverage on the blog "Box Turtle Bulletin" You need a webserver. A geeky friend of mine downloaded Apache and PHP Switch to my computer. It resides in C:\Program Files\xampp and runs the localhost server. http://localhost/ <-- if you see nothing here, you don't have a localhost server.
Alternatively, get someone who has access to an online webserver to put the files up on his website. Then anyone can use them to read almost any RSS feed.
(I almost sound as though I know what I'm talking about, don't I?)
TRiG.
| 
 
|  | |
|  |
 Posted Aug 19, 2007 by Táralómë MacHead A mac doesn't have a program files folder. And we don't call the hard drive C://. However when I clicked on your link I got this message: "If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page." Rather cool! Thank you.
| 
 
|  | |
|  |
 Posted Aug 19, 2007 by TRiG (Ireland) Human rights under attack in Uganda. Look it up. Excellent coverage on the blog "Box Turtle Bulletin" Well, if you find the directory where the localhost server is, you can create the two files above (use a plain text editor: the Mac equiv. of Windows Notepad), and save them with the extension .php. Then find them at, for example (this is if you put them in a subdirectory called rss_readers).
http://localhost/rss_readers/reader.php
This should work.
TRiG.
| 
 
|  | |
|  |
 |  |  Key |  |  |  A: An older reply to the parent Posting B: The parent Posting, to which this is a reply C: A newer reply to the parent posting D: The first reply to this Posting
|  |  |  Click on this icon to make a complaint about a specific Posting |  |
|