Home » jAlbum forums » Tips


Permlink Replies: 5 - Pages: 1 - Last Post: 10-Oct-2006 15:31 Last Post By: xblite Threads: [ Previous | Next ]
alan927

Posts: 2,882
Registered: 06/18/05
Skin developers - Check W3C compliance of your skin's website
Posted: 01-Sep-2006 02:19
  Click to reply to this thread Reply
The World Wide Web consortium provides a free HTML validator to check your website for compliance. This is a great tool not only to ensure compliance, but also to find problems with your code that don't produce errors.

http://validator.w3.org/

The more compliant your code is, the more compatible your users' sites will be with different browsers, too! Just because it "works", it doesn't mean it's "right".

(Yes, it found a lot of errors in my skin. I will be releasing a new version soon that is "4.01 Transitional"-compliant.)
kaya

Posts: 1,985
Registered: 06/19/03
Re: Skin developers - Check W3C compliance of your skin's website
Posted: 05-Sep-2006 18:13   in response to: alan927 in response to: alan927
  Click to reply to this thread Reply
Yes alan, I agree and I do it for my PositionMap skin, which w3c valid too.
Only problem is that users can add custom code as for example descriptions for their photos which may contain (invalid) html tags. Another type of custom code are javascript snippets which are often used for statcounters for example.
So it's useful to allow to add this kind of custom code in order to make the skin more flexible but it can break its w3c validness.
alan927

Posts: 2,882
Registered: 06/18/05
Re: Skin developers - Check W3C compliance of your skin's website
Posted: 07-Sep-2006 01:03   in response to: kaya in response to: kaya
  Click to reply to this thread Reply
I know, but at least they can start out compliant. :-)

I posted this because I ran it on my website and found some major things missing from slide.htt, although most of the errors in my index pages were from text files I include, not the index.htt itself which only had minor issues.
mrag

Posts: 3,385
Registered: 07/26/03
Re: Skin developers - Check W3C compliance of your skin's website
Posted: 07-Sep-2006 22:54   in response to: alan927 in response to: alan927
  Click to reply to this thread Reply
If you are into any web development and or compliance issues, I'd highly recommend the FireFox extension, Web Developer toolbar by Chris Pederick. It's an easy install (and easy uninstall if it's not to your liking) for anyone using FireFox. And if you're not yet also using FFx, well the boat left the dock 20 minutes ago ;-)

Get it at either (and check it's "tools" tab for various validations):

https://addons.mozilla.org/extensions/

http://chrispederick.com/work/webdeveloper/

(agree that at least an effort at W3C validation is much better than just typing in code)
alan927

Posts: 2,882
Registered: 06/18/05
Re: Skin developers - Check W3C compliance of your skin's website
Posted: 08-Sep-2006 01:20   in response to: mrag in response to: mrag
  Click to reply to this thread Reply
Cool! Couldn't find it on addons.mozilla.org, but it was on chris's site.
xblite

Posts: 3
Registered: 10/10/06
Re: Skin developers - Check W3C compliance of your skin's website
Posted: 10-Oct-2006 15:31   in response to: alan927 in response to: alan927
  Click to reply to this thread Reply
Yes, this is important. I found that the "Experience" skin displays
correctly in IE but fails in Mozilla (errors in link highlighting colors).
I didn't test it in FireFox. All browsers should be checked before
posting a new skin.

thanks,
David
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums