Does Podcasting plugin Validate

Creating and modifying plugins.
Post Reply
bdconnolly
Regular
Posts: 140
Joined: Tue Apr 04, 2006 9:37 pm

Does Podcasting plugin Validate

Post by bdconnolly »

Hey, I had the latest version of "East Podcasting" plugin installed. Had a link to an mp3 so it "embedded a player. WC3 validator when nuts. It produced 15 errors related to illegal attributes.

Thoughts?
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

I guess the main reason is the embed tag that is added and what is not XHTML valid.

So the Easy Podcating Plugin is producing working HTML code but not XHTML valid code. I was thinking about changing this, but hadn't the time yet, as it is not only done by exchanging the players code only.
Last edited by blog.brockha.us on Thu Aug 23, 2007 6:17 pm, edited 1 time in total.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
bdconnolly
Regular
Posts: 140
Joined: Tue Apr 04, 2006 9:37 pm

Post by bdconnolly »

Well, one of our claims to fame for our site is that the entire site validates.

As such...
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

.. as such you can't use this plugin yet. Sorry. But as I said: I'm thinking about changing this already.. But my time is very short at the moment.. Sorry.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The onl way to produce valid XHTML is to use Javascript to output the HTML code. That however sucks, as it degrades browser performance.

XHTML sucks on the embed vs. object regard. Or, more exactly, IE sucks that it requires invalid XHTML. :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

No.. I think it can be done w/o using JS. And not IE is it, that needs the embed tag but mozilla, AFAIK. But IE needs some "special" object tags (codebase), that are not XHTML valid. But it can be done, I found a tutorial I have too look deeper into.. :-)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

It's ready. I commited the version 1.9 of the Easy Podcasting Plugin producing XHTML valid player code. Read this article http://blog.brockha.us/index.php?archiv ... lected]=en if you are interested in more information.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

Post by mattsches »

Great stuff, Grischa, looks like it validates perfectly now!
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Cool! :-)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply