Re: [PHP] RSS Feed

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 20:30:29 +, Christopher Lee sent: Hello All, I am interested in importing RSS Feed content into a MySQL database and displaying the aggregated content on a website. I am thinking of developing the website within a CMS type framework (i.e. Drupal). If anyone can

RE: [PHP] RSS Feed

2011-11-15 Thread Christopher Lee
Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, November 15, 2011 4:38 PM To: Christopher Lee Cc: php-general@lists.php.net Subject: Re: [PHP] RSS Feed Hi, Have you tried google? I tried and top hit was this one: http://stackoverflow.com/questions/1501394/writing-an-rss

Re: [PHP] RSS Feed

2011-11-15 Thread Matijn Woudt
Hi, Have you tried google? I tried and top hit was this one: http://stackoverflow.com/questions/1501394/writing-an-rss-feed-to-mysql-using-php I guess that's all you need. Matijn On Tue, Nov 15, 2011 at 9:30 PM, Christopher Lee wrote: > Hello All, > > I am interested in importing RSS Feed cont

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Ron Piggott
www.TheVerseOfTheDay.info -Original Message- From: Richard Quadling Sent: Friday, September 30, 2011 2:53 PM To: Ron Piggott Cc: php-general@lists.php.net Subject: Re: [PHP] RSS Feed Accented Characters On 30 September 2011 18:22, Ron Piggott wrote: -Original Message

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Richard Quadling
On 30 September 2011 18:22, Ron Piggott wrote: > > -Original Message- From: Richard Quadling > Sent: Friday, September 30, 2011 12:31 PM > To: Ron Piggott > Cc: php-general@lists.php.net > Subject: Re: [PHP] RSS Feed Accented Characters > > On 30 September 2011 1

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Ron Piggott
-Original Message- From: Richard Quadling Sent: Friday, September 30, 2011 12:31 PM To: Ron Piggott Cc: php-general@lists.php.net Subject: Re: [PHP] RSS Feed Accented Characters On 30 September 2011 17:26, Ron Piggott wrote: I am trying to set up an RSS Feed in the Spanish language

RE: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Jen Rasmussen
Whoops! Forgive my try at it :) -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Friday, September 30, 2011 11:47 AM To: j...@cetaceasound.com Cc: Ron Piggott; php-general@lists.php.net Subject: Re: [PHP] RSS Feed Accented Characters On 30 September 2011 17

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Richard Quadling
On 30 September 2011 17:41, Jen Rasmussen wrote: > Would this work? > > $content = "El Versículo del Día"; > $rss_content .= "" . $content . "\r\n"; > > Cheers! > Jen The entities are HTML entities. They are not XML entities. If they are displayed as ? then it is an encoding issue. What encodin

RE: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Jen Rasmussen
Would this work? $content = "El Versículo del Día"; $rss_content .= "" . $content . "\r\n"; Cheers! Jen -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: Friday, September 30, 2011 11:26 AM To: php-general@lists.php.net Subject: [PHP] RSS Feed Accented Cha

Re: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Richard Quadling
On 30 September 2011 17:26, Ron Piggott wrote: > > I am trying to set up an RSS Feed in the Spanish language using a PHP cron > job.  I am unsure of how to deal with accented letters. > > An example: > > This syntax: > > > $rss_content .= "" . htmlentities("El Versículo del Día") . > "\r\n"; >

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> Unfortunately, the RSS camps are still at war over syntax and required > elements, and there are 9 mutually-incompatible often-used versions of the > RSS standard over the years, with TWO current 2.0 "standards" > > You have to try to hit the lowest common denominator and test in many RSS > cl

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Eric Butera
On Mon, Jan 12, 2009 at 11:02 AM, wrote: > >> You actually mean application/xml not text/xml > > That depends on if you want the Userland RSS standard or the Other [blanking > on name] RSS standard. > > Unfortunately, the RSS camps are still at war over syntax and required > elements, and there

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread ceo
> You actually mean application/xml not text/xml That depends on if you want the Userland RSS standard or the Other [blanking on name] RSS standard. Unfortunately, the RSS camps are still at war over syntax and required elements, and there are 9 mutually-incompatible often-used versions of

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> hope you're well today Well, I have a bit of runny nose, and as usual it's frickin' freezing (the joys of rat poison). But other than that fine thanks. You? -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mail

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> ... Suppose I should change my feed then. At some point... :-) -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Richard Heyes wrote: header('Content-Type: text/xml'); You actually mean application/xml not text/xml Well, no. I use text/xml and have done for nearly 5 years, and it works fine. it does, but in 2006 it was upgraded to application/rss+xml for all rss versions; all the ma

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
>>> header('Content-Type: text/xml'); >>> >> You actually mean application/xml not text/xml Well, no. I use text/xml and have done for nearly 5 years, and it works fine. >> And its alot better to use DOMDocument in PHP5 for XML Creation rather >> than hardcode everything. DOMDocument would be o

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Nathan Rixham wrote: here's an example / test code: $title = stripJunkSimple(stripslashes(htmlentities($item['title']))); there are a couple of custom functions in this script i forgot to pull out so stripJunkSimple can be removed and the db lookup replaced with you're own - just sample c

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Nathan Rixham
Craig Whitmore wrote: On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote: Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: he

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Craig Whitmore
On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote: > > Is there something in PHP5 which can generate the RSS feed? > > You don't need an extension to help you generate an XML feed. You > dimply output XML data instead of HTML and send an appropriate content > type header, eg: > > header('Con

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread clive
Richard Heyes wrote: Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: header('Content-Type: text/xml'); I was just abo

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> > Oops, that should be the title of the individual article. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> Is there something in PHP5 which can generate the RSS feed? You don't need an extension to help you generate an XML feed. You dimply output XML data instead of HTML and send an appropriate content type header, eg: header('Content-Type: text/xml'); And the actual data:

Re: [PHP] RSS Feed on my PHP site

2009-01-07 Thread DanBarker85
Thanks for the help guys, much appreciated! -- View this message in context: http://www.nabble.com/RSS-Feed-on-my-PHP-site-tp21293513p21330097.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Kevin Waterson
This one time, at band camp, DanBarker85 wrote: > > Hi > > i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed > added to my website? > > I've searched for some kind of tutorial but haven't found anything. http://www.phpro.org/classes/Rss-Class.html enjoy Kevin -- PH

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Nathan Rixham
Richard Heyes wrote: i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed added to my website? You can read and parse an RSS feed just like any other webpage. Magpie RSS will probably make life easier though. and http://rssphp.net will make it ultra simple :) -- PHP Ge

Re: [PHP] RSS Feed on my PHP site

2009-01-05 Thread Richard Heyes
> i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed > added to my website? You can read and parse an RSS feed just like any other webpage. Magpie RSS will probably make life easier though. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgra

Re: [PHP] RSS Feed on my PHP site

2009-01-05 Thread Wolf
DanBarker85 wrote: > > Hi > > i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed > added to my website? > > I've searched for some kind of tutorial but haven't found anything. You STFW but haven't found anything? Wow... Google sure had a number of responses...

RE: Re: [PHP] RSS Generation

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 1:36 pm, [EMAIL PROTECTED] wrote: > Thanks. I had added the header to the file. If the php extension is > good enough, then I am not going to worry about the .htaccess file. I'd be awful careful here... SOME versions of Microsoft IE are particularly stoopid about dealing

Re: [PHP] RSS Generation

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 8:37 am, Robbert van Andel wrote: > I am working on creating some RSS feeds on my website using PHP. I'm > still > learning RSS but it seems easy enough. I managed to create the RSS > giving > the file a PHP extension. When I tried saving it with an xml > extension and > ad

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
Actually, the dot is the end of a sentence ... damn my excellnet grammar skills :) In the htaccess file, I hadn't included a dot at either end of XML. I think I'm going to just leave the file extension as PHP and see how that goes. Thanks, Robbert >Robbert, > >maybe it is only a typo, but you

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
Thanks. I had added the header to the file. If the php extension is good enough, then I am not going to worry about the .htaccess file. >> ... When I tried saving it with an xml extension and >> adding a .htaccess file to the directory in which the file was saved, I get >> prompted to save the

Re: [PHP] RSS Generation

2006-04-10 Thread Frank Arensmeier
Robbert, maybe it is only a typo, but you have written: "xml." not ".xml" (notice the position of the dot). /frank 10 apr 2006 kl. 15.37 skrev Robbert van Andel: I am working on creating some RSS feeds on my website using PHP. I'm still learning RSS but it seems easy enough. I managed to cr

Re: [PHP] RSS Generation

2006-04-10 Thread Dave Goodchild
If you want to serve .xml files as php, make the relevant change in the http.conf file (if you are using apache). On 10/04/06, Michael Crute <[EMAIL PROTECTED]> wrote: > > On 4/10/06, Robbert van Andel <[EMAIL PROTECTED]> wrote: > > First off, and I'm sorry that this isn't a PHP specific question,

Re: [PHP] RSS Generation

2006-04-10 Thread Greg Schnippel
> ... When I tried saving it with an xml extension and > adding a .htaccess file to the directory in which the file was saved, I get > prompted to save the file instead of being able to view the file in a > browser. The only line in the .htaccess file is AddType > application/x-httpd-php xml. I h

Re: [PHP] RSS Generation

2006-04-10 Thread Michael Crute
On 4/10/06, Robbert van Andel <[EMAIL PROTECTED]> wrote: > First off, and I'm sorry that this isn't a PHP specific question, but does > RSS require an XML extension? And if it does, how do I get the server to > serve the PHP file correctly if I rename it with the xml extension? No, you can use an

Re: [PHP] RSS / XML

2006-02-27 Thread John Nichel
Gustav Wiberg wrote: Hi there guys! Where is a good startpoint for learning XML Reader on a very, very basic level? (I appreciate links) Is RSS a technique for retrieving XML? I can't clue the pieces together... /G Please turn off your mail client's request for read receipts when sending

Re: [PHP] RSS / XML

2006-02-25 Thread Gustav Wiberg
- Original Message - From: "Weber Sites LTD" <[EMAIL PROTECTED]> To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "'PHP General'" Sent: Saturday, February 25, 2006 7:37 PM Subject: RE: [PHP] RSS / XML Here are a

RE: [PHP] RSS / XML

2006-02-25 Thread Weber Sites LTD
Here are a few (from easy to hard) Parsing XML With DOMXML And PHP http://www.weberdev.com/ViewArticle-158.html Converting XML Into a PHP Data Structure http://www.weberdev.com/ViewArticle-389.html Building XML Trees with PEAR's XML_Tree Class http://www.weberdev.com/ViewArticle-345.html Buildi

Re: [PHP] RSS creator class

2005-09-19 Thread Rory Browne
On 9/19/05, David Robley <[EMAIL PROTECTED]> wrote: > Wondering if anyone knows of a PHP class or other PHP tool for creating > RSS/XML data which gracefully handles 'strange' characters such as M$ > Word's delightful 'smart quotes'. Why not do something simple like preg_replace [^a-zA-Z0-9_-](or

RE: [PHP] RSS news feed (slightly 0T)

2005-05-19 Thread Reynier Perez Mira
: 'Ryan A'; 'php' Asunto: RE: [PHP] RSS news feed (slightly 0T) > > Hey, > > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? > > I presently have the PHP.net feed (but its not too good > because the news

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 6:26 am, Ryan A said: > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? The New York PHP User Group seems to have a pretty hip PHP news feed on their home page, last time I checked. Figure out where they get their news, if you ca

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
> > Hey, > > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? > > I presently have the PHP.net feed (but its not too good > because the news does not change much in days) and I am using > yahoo's feeds for "software", "digital music" and "internet

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
> Hey, > > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? > > I presently have the PHP.net feed (but its not too good > because the news does not change much in days) and I am using > yahoo's feeds for "software", "digital music" and "internet".

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Philip Hallstrom
Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I don't know if they have RSS feeds on them or not, but I'd try... http://www.zend.com/ http://www.devshed.com/c/b/PHP/ http://www.phpbuilder.com/ And all or none of the sites listed here: http://www.php.ne

RE: [PHP] rss feeder using php?

2005-01-28 Thread Josip Dzolonga
On Fri, 2005-01-28 at 11:49 +, Chris Ramsay wrote: > [snip] > we are looking for a RSS feeder implemented in php. > > Is there anything good out there (something you have tried + tested). > [/snip] I used to code a PHP5 rss-parsing class some time ago, but I haven't finished it (stopped at ca

RE: [PHP] rss feeder using php?

2005-01-28 Thread Chris Ramsay
[snip] we are looking for a RSS feeder implemented in php. Is there anything good out there (something you have tried + tested). [/snip] I have used the following - http://www.phpinsider.com/php/code/ContentFeeder/ - is worth a go... [snip] >Please, do not answer "do a google search", because I

RE: [PHP] RSS / eregi_replace()

2004-08-03 Thread Richard Bewley
* Thus wrote Anthony Ritter: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. > > I was hoping that I could use the eregi_repla

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Anthony Ritter
Justin Patrin <[EMAIL PROTECTED]> wrote in message: > Thanks, lots of good info here. It's nice to have all of the info at once. > > I don't know about eregs myself, but I'll try a preg solution: > > $new_text = preg_replace('!(.*?)!', ' target="_blank">\1', $text); Thank you. I tried th

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Curt Zirzow
* Thus wrote Anthony Ritter: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. > > I was hoping that I could use the eregi_repla

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Justin Patrin
On Tue, 3 Aug 2004 18:36:02 -0400, Anthony Ritter <[EMAIL PROTECTED]> wrote: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. >

Re: [PHP] rss/rdf feed classes

2003-12-11 Thread Ray Hunter
Check this out: http://builder.com.com/5100-6374-5109834.html?tag=sc -- Ray On Thu, 2003-12-11 at 11:41, Rolf Brusletto wrote: > Hey all - > > I'm looking for a class that returns a rss/rdf feed with each of the > items as an array, or suggestions on how to items into an array... > > Tia, >

RE: [PHP] rss/rdf feed classes

2003-12-11 Thread Daevid Vincent
We have pretty good luck with http://www.fase4.com/rdf/ Daevid Vincent http://daevid.com > -Original Message- > From: Matt Matijevich [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 10:46 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] rss/rdf feed clas

Re: [PHP] rss/rdf feed classes

2003-12-11 Thread Matt Matijevich
I'm looking for a class that returns a rss/rdf feed with each of the items as an array, or suggestions on how to items into an array... try google and freshmeat.net You should be able to find plenty of examples and classes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: PHP RSS sites and SlashDot

2003-12-05 Thread Manuel Lemos
Hello, On 12/05/2003 05:34 PM, Ryan A wrote: I am totally new to using RSS feeds and need a little help. I downloaded a few good classes to use RSS but dont know where to get the feeds from... our site is going to be totally PHP geared: eg: PHP Articles Program snippets (forum (maybe)) etc Any id

Re: [PHP] RSS

2003-03-13 Thread Paul Roberts
this months free sample article in PHP Architect - A monthly magazine for PHP Professionals. http://www.phparch.com/ - Original Message - From: "Sebi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 11:47 AM Subject: [PHP] RSS Hi, Does some one know where

Re: [PHP] RSS

2003-03-13 Thread - Edwin
Hi, "Sebi" <[EMAIL PROTECTED]> wrote: > > Hi, > Does some one know where I can find a RSS parser exmple? I think you can find one here: http://www.google.co.jp/search?q=PHP+RSS+parser&ie=UTF-8&oe=UTF-8&hl= en&lr= ;) - E __ Do You Yahoo