28, May 2012

XML/RSS feed on this website - webmaster forum

 
Webdigity webmaster forums
[ 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
Instabuck - The easy way to sell digital products online

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


It's time to use PHP5!


« on: Apr 11, 2006, 08: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, 08:54:15 am by olaf »

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Apr 11, 2006, 10: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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Apr 11, 2006, 10: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.

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Apr 11, 2006, 10: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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


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

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

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Apr 12, 2006, 09:13:44 am »

Hi Nikolas,

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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #6 on: Apr 12, 2006, 09:19:41 am »

Nice Smiley

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

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Apr 12, 2006, 09: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?

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #8 on: Apr 12, 2006, 09: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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Apr 12, 2006, 09: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)

Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1525
6359 credits
Members referred : 8


Gimme all your cookies!!!


« Reply #10 on: Apr 24, 2006, 08:19:29 am »

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


Last blog : Canonical URL Links / Tags
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #11 on: Apr 24, 2006, 08:24:04 am »

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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #12 on: Apr 24, 2006, 01: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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1525
6359 credits
Members referred : 8


Gimme all your cookies!!!


« Reply #13 on: Apr 24, 2006, 04:49:34 pm »

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


Last blog : Canonical URL Links / Tags
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #14 on: Apr 24, 2006, 04: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

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....

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?
May 28, 2012, 11:24:20 am





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!






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