CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 CSS to RSS/RDF

Print topic Send  topic

Author Message
mateo
Posted: 05/10/2004, 11:03 AM

Need example code for RSS/RDF output from CSS projects, (PHP/-anythingSQL).

Regds. Drazen






DonB
Posted: 05/10/2004, 7:25 PM

Start here:

http://searchenginewatch.com/sereport/article.php/2175281

good info to get you on the way.

It would not surprise me if there is a PHP library extension for this
already.

--
DonB

http://www.gotodon.com/ccbth


"mateo" <drazen@blato.hr> wrote in message
news:c7og4m$8hj$1@news.codecharge.com...
> Need example code for RSS/RDF output from CSS projects,
(PHP/-anythingSQL).
>
> Regds. Drazen
>
>
>
>
>
>
>

mateo
Posted: 05/12/2004, 10:58 AM

thank you for link Don. I already have RSS specification..
I should try myself to construct that code.
Result should be "New" file XML type and contents. This is what bother me.
How to cheat CCS/PHP not to produce html based template and output. Guess
should be stand alone php file, out of CCS generation.

Drazen

"DonB" <~ccbth~@gotodon.com> wrote in message
news:c7pdiu$99d$1@news.codecharge.com...
> Start here:
>
> http://searchenginewatch.com/sereport/article.php/2175281
>
> good info to get you on the way.
>
> It would not surprise me if there is a PHP library extension for this
> already.
>
> --

DonB
Posted: 05/12/2004, 5:33 PM

You can insert:

Response.Buffer = TRUE
Response.ContentType = "text/xml"

into an ASP file to switch the output from html to xml. I put this at the
top of my _Events.asp file, but had to comment-out the Option Explict from
Common.asp in order for it to execute successfully. The Option Explicit
must occur first in an ASP file, but also the header must be written first,
so rather than embed these lines in Common.asp (where they'd impact ALL
pages), I did it my way.

It actually may be simpler in PHP to alter the $header contents, but
generally the same thing - change the content-type. I've not attempted to
do it with PHP.

--
DonB

http://www.gotodon.com/ccbth


"mateo" <drazen@blato.hr> wrote in message
news:c7tojb$dqc$1@news.codecharge.com...
> thank you for link Don. I already have RSS specification..
> I should try myself to construct that code.
> Result should be "New" file XML type and contents. This is what bother me.
> How to cheat CCS/PHP not to produce html based template and output. Guess
> should be stand alone php file, out of CCS generation.
>
> Drazen
>
> "DonB" <~ccbth~@gotodon.com> wrote in message
>news:c7pdiu$99d$1@news.codecharge.com...
> > Start here:
> >
> > http://searchenginewatch.com/sereport/article.php/2175281
> >
> > good info to get you on the way.
> >
> > It would not surprise me if there is a PHP library extension for this
> > already.
> >
> > --
>
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.