Re: [PHP] Re: Re: Making multiple RSS feeds for the blog website

2010-08-30 Thread Paul M Foster
On Sun, Aug 29, 2010 at 04:30:08AM +0200, Michelle Konzack wrote:

> Hello Andre Polykanine,
> 
> Am 2010-08-27 12:55:51, hacktest Du folgendes herunter:
> > Hello Michelle,
> > 
> > Hm. link rel="alternate"... that's a good one, thanks (btw, you say me
> > that I should RTFM, but if I knew what to read).
> > Now there are two questions:
> > 1. How do I do those .RSS files with PHP? All of mmy blog entries and
> > other stuff are in MySql. There are classes that can echo the
> > appropriate data as RSS, but there will be more .PHP files, not
> > .RSS/.XML ones. So how do we manage that?
> > 2. Should I make a separate .RSS file for each type of feeds (blog
> > feed, comments feed, timeline feed, news feed)?
> 
> The Internet is full of HOWTOs which explain HOW-TO-MAKE-A-RSS-FEED...
> 
> However sometimes back I asked HERE IN THIS LIST the same IDIOTQUESTION!
> 
> You could have searched THIS LIST...  :-P

I've seen sites which detail all the posts to this list. Do you know of
one which has *search* capabilities?

Paul


-- 
Paul M. Foster

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



[PHP] Re: Re: Making multiple RSS feeds for the blog website

2010-08-28 Thread Michelle Konzack
Hello Andre Polykanine,

Am 2010-08-27 12:55:51, hacktest Du folgendes herunter:
> Hello Michelle,
> 
> Hm. link rel="alternate"... that's a good one, thanks (btw, you say me
> that I should RTFM, but if I knew what to read).
> Now there are two questions:
> 1. How do I do those .RSS files with PHP? All of mmy blog entries and
> other stuff are in MySql. There are classes that can echo the
> appropriate data as RSS, but there will be more .PHP files, not
> .RSS/.XML ones. So how do we manage that?
> 2. Should I make a separate .RSS file for each type of feeds (blog
> feed, comments feed, timeline feed, news feed)?

The Internet is full of HOWTOs which explain HOW-TO-MAKE-A-RSS-FEED...

However sometimes back I asked HERE IN THIS LIST the same IDIOTQUESTION!

You could have searched THIS LIST...  :-P

OK, since I now know, how to make RSS Feeds here some advice:

1)  you should know, how many days or hoe many items should be stored
in the RSS feed

2)  Create for each article in the BLOG in a directory a file like

8<--

PHP Website
http://www.php.net/
Great programmers Website, where you an find nice peoples on 
the mailinglist, which explain how RSS is working.
http://blog.pnp.net/items/1258834764.html
Sat, 21 Nov 2009 21:20:12 +0100

8<--

and save them using the UNIX serialtime like 1258834764.rss
The included "isPermaLink" should point to the BLOG article

3)  Now you have to create the index.rss.tmp with the HEADER which looks
like

8<--


http://backend.userland.com/blogChannelModule";>



PHP Superhere PHP RSS Feed
http://www.php.net/
PHP RSS Feed Overview
en
Copyright 2010, Michelle Konzack
Sun, 29 Aug 2010 04:13:17 +0200
http://www.php.net/michelles_php_rss_feed/
linux4miche...@tamay-dogan.net
webmas...@php.net
10


PHP Website
http://www.php.net/logo.png
www.php.net
120
160
PHP Logo

8<--


Now pipe how much (and in order ) the messages build under 2) at the
end and of this file...

4)  close the RSS feed index.rss.tmp with

8<--



8<--

5)  now move

mv index.rss.tmp /index.rss

thats all

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature