21, March 2010

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

Author Topic: XML/RSS feed on this website  (Read 2081 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5660
45593 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5660
45593 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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


Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5660
45593 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5660
45593 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1525
6359 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 : Canonical URL Links / Tags
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5660
45593 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 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, 05: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: 6690
34708 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


Last blog : A new Wordpress theme for our blog
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?
Mar 21, 2010, 01:44:25 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!


Forum Statistics
Total Posts: 44.233
Total Topics: 8.624
Total Members: 8.241
Tutorials : 58
Resources : 929
Designs : 361
Latest Member: worldnature

24 Guests, 4 Users online :

12 users online today:



Readers

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