22, November 2008

XML/RSS feed on this website - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: XML/RSS feed on this website
« previous next »
Pages: [1] Print

Author Topic: XML/RSS feed on this website  (Read 1363 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« on: Apr 11, 2006, 09:34:54 AM »

Hello,

If I open the rss feed on this site it is rendered together with a xsl stylesheet also in Firefox? How is this possible? Does SMF uses domxsl or xslt?

edit: OK both options are not since the stylesheet works with my own rss file on my local machine Cheesy
but is there a xml parser inside FF (like in IE)?

Is this stylesheet standard used by SMF?
« Last Edit: Apr 11, 2006, 09:54:15 AM by olaf »


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8250
42487 credits
Members referred : 3



« Reply #1 on: Apr 11, 2006, 11:11:31 AM »

Actually this is a custom script I made, so this is not about SMF.

The xml is rendered throught the xslt file that defined like this :

Code:

<?xml-stylesheet href="./style.xsl" type="text/xsl"?>


Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Apr 11, 2006, 11:19:53 AM »

Yes, I know about the xsl stylesheet, but how parsing the xml without a xml parser. That brings me back to the question is there a parser inside firefox?

Nikolas, is it OK to use your stylesheet as a basic for my own? I got some training (last year) about xml, xsl, xpath, schema ... but I need refresh.


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8250
42487 credits
Members referred : 3



« Reply #3 on: Apr 11, 2006, 11:23:25 AM »

Quote
Yes, I know about the xsl stylesheet, but how parsing the xml without a xml parser. That brings me back to the question is there a parser inside firefox?

I'm not sure if I understand what you say, but yes Firefox has an XML parser (it is also displaying errors, etc.)

Quote
Nikolas, is it OK to use your stylesheet as a basic for my own? I got some training (last year) about xml, xsl, xpath, schema ... but I need refresh.

Sure you can, just make sure that you remove the logo LoL Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Apr 11, 2006, 12:03:59 PM »

ok didn't noticed before that there is a buildin xml parser in FF (that makes it easy to use XSL)

I will show you my stylesheet if its done, thanks


Last blog : Just a better Internet portal provided by Google
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Apr 12, 2006, 10:13:44 AM »

Hi Nikolas,

got your syle sheet working:
http://www.finalwebsites.com/scripts_rss.php Visit through proxy


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8250
42487 credits
Members referred : 3



« Reply #6 on: Apr 12, 2006, 10:19:41 AM »

Nice Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Apr 12, 2006, 10:27:27 AM »

I think I havae to use more xml feeds, First I think its a good way to use it in link directories or similar. Do you tried already a dynamic xsl file with php extension?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8250
42487 credits
Members referred : 3



« Reply #8 on: Apr 12, 2006, 10:35:02 AM »

Yes Wink

You just need to send an xml header in the beggining of your code.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Apr 12, 2006, 10:59:43 AM »

Yes Wink

You just need to send an xml header in the beggining of your code.
of course I do the same with xml files (I think that was a stupid question Cheesy)


Last blog : Just a better Internet portal provided by Google
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1523
6847 credits
Members referred : 8


Gimme all your cookies!!!


« Reply #10 on: Apr 24, 2006, 09:19:29 AM »

Hey Nikolas, do you mind if I use your stylesheet and xml as a template too? Thanks!


Last blog : Site of the Month - August 2007
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #11 on: Apr 24, 2006, 09:24:04 AM »

It's strange that there are no open source sheets since the RSS structure is standard...


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8250
42487 credits
Members referred : 3



« Reply #12 on: Apr 24, 2006, 02:14:01 PM »

It seems that there is one now, LoL!

Wineo go ahead and use it Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1523
6847 credits
Members referred : 8


Gimme all your cookies!!!


« Reply #13 on: Apr 24, 2006, 05:49:34 PM »

Thanks! We should start an open source for these sheets...


Last blog : Site of the Month - August 2007
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #14 on: Apr 24, 2006, 05:52:29 PM »

Thanks! We should start an open source for these sheets...
its a good idea, but we have to include all possible elements:

http://blogs.law.harvard.edu/tech/rss Visit through proxy


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2238
Tags : php design directories xml firefox Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: XML/RSS feed on this website
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 10:20:18 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.741
Total Topics: 7.651
Total Members: 4.398
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: egseopro

36 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.