RE: Making multiple RSS feeds for the blog website

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Andre Polykanine [mailto:andre@xxxxxxxx] 
> Sent: Thursday, August 26, 2010 4:53 PM
> To: php-general
> Subject:  Making multiple RSS feeds for the blog website
> 
> Hi everyone,
> We are developing a blog service website.
> What we need now is the ability to make multiple RSS feeds from
> several pages (an RSS of each user's blog, a feed from each timeline -
> timelines are our representation of users' favorites; a feed filled
> with comments to a separate entry, etc.). What would be great is the
> following: a user enters, say, in my blog and sees the mark that there
> are RSS feeds. Then he/she clicks the mark or presses a keystroke
> (Alt+J in IE8, for instance), finds the feed and double-clicks on it.
> Then he/she can either read the feed or subscribe to it. The feeds
> have usually file extensions of .rss or .xml.
> Question: how do we do that with PHP?
> Thanks!
> 
> 
> 
> -- 
> With best regards from Ukraine,
> Andre
> Skype: Francophile
> Twitter: http://twitter.com/m_elensule
> Facebook: http://facebook.com/menelion

In otherwords, to paraphrase:

<DBAG_MODE>
"We have this super cool new idea that's going to revolutionize the web and
blogs and cloud computing and we might even create our own new buzzword. We
heard you can do this with PHP. We just don't have any code written, so
could you guys write it for us. That'd be swell. kthxbye."

;-)

Dude. Andre. Let me break it down like a fraction, as to how this list
works.

YOU post some code that you are struggling with, or you post some SPECIFIC
question, and the generous subscribers to this list decide if your question
is worthy of their time to reply.

Your "question" (for lack of a better term) was devoid of either of those
things.

Now, had you said, "How can I formulate an RSS feed?", I might point you to
this:
http://www.phpclasses.org/package/560-PHP-XML-RSS-feed-generator-for-conten
t-syndication-.html

Or if you had said, "How does one double click?" (since that is NOT a
web-friendly navigation method by default), I might point you in this
direction:

<script>
   onload = function () {
      document.getElementById("textarea").ondblclick = function () {
alert('Double Clicked!') }
   }
</script>
then this in the body
<textarea id="textarea"></textarea> 

Or even if you said, "How do I steal, er um, read an XML file from another
site?" Then someone might show you these functions (since you clearly
missed them when you RTFPM)
http://us2.php.net/manual/en/function.file-get-contents.php
http://us2.php.net/manual/en/ref.simplexml.php
http://us2.php.net/manual/en/book.dom.php

But again, your question was so vague that I (and everyone else) probably
has nowhere to begin to help you and therefore most likely won't. Given the
above advice, you might consider breaking your questions down into PHP
related specific examples.

</DBAG_MODE>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux