Currently the templates shipped with serendipity have a meta tag like this to indicate the software used:
<meta name="Powered-By" content="Serendipity v.2.0-beta1" />
It seems that the meta tag with name "Powered-By" is a s9y invention. However, there is a standardized meta tag for that use: "generator". It is used by most other web CMS systems and blogs. It is approved by the W3C:
http://www.w3.org/wiki/HTML/Elements/meta
I propose changing all "Powered-By" metatags in themes to "generator" to make s9y more standards compliant.
Request meta name generator instead of Powered-By
Re: Request meta name generator instead of Powered-By
That is technically okay, though. As far as I know, the HTML spec only defines the struture of a meta element, it does not stipulate to use certain meta elements.hanno wrote:It seems that the meta tag with name "Powered-By" is a s9y invention.
In fact, it would be possible to register extensions to the standard meta data names. “Powered-By” is indeed neither a standard meta data name nor a registered extension.hanno wrote:However, there is a standardized meta tag for that use: "generator".
It's a tad harsh to speak of “standards compliant” here. Actually, the W3C validator does not consider “Powered-By” an error or even a warning. That being said, yes, “generator” is more common and kind of a standard for this. (2k11, for instance, uses it already.)hanno wrote:I propose changing all "Powered-By" metatags in themes to "generator" to make s9y more standards compliant.
It should be noted that some CMS do not use “generator” deliberately because it offers a simple way to find out the engine (and usually version number) behind a website, which might be used to exploit security issues. Other than that I see no objection to changing it to “generator” for themes shipped with s9y. Might as well do that for additional themes on Spartacus.
YL
Re: Request meta name generator instead of Powered-By
Yeah, maybe my wording was a bit overblown. Basically, the HTML meta tag allows any arbitrary kind of values, so you can invent as much of them as you like.
However, if there is already one standardized it makes sense to use it instead of inventing a new one.
However, if there is already one standardized it makes sense to use it instead of inventing a new one.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Request meta name generator instead of Powered-By
Good catch, thanks. Wasn't really aware of this. I just changed this for all internal (2.0/1.7) and external themes.
# 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/
# 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/
Re: Request meta name generator instead of Powered-By
Just our of curiosity (personally, I don't care), where is displaying the version number configured?
YL
YL
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Request meta name generator instead of Powered-By
We have a "expose_s9y" variable, somewhere buried in the global configuration
# 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/
# 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/
Re: Request meta name generator instead of Powered-By
Seems like it's set in serendipity_config.inc.php, line 113-115.
YL
YL
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Request meta name generator instead of Powered-By
Ah, ok. Then it's a serendipity_config_local.inc.php variable that would need to be set...
We once had our own s9y spider that checked blogs and analyze their versions, I think this is why we didn't want to put this variable configurable into the normal installer. Meanwhile I'm thinking, this might be nice to reveal to users...
We once had our own s9y spider that checked blogs and analyze their versions, I think this is why we didn't want to put this variable configurable into the normal installer. Meanwhile I'm thinking, this might be nice to reveal to users...
# 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/
# 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/
Re: Request meta name generator instead of Powered-By
That's what I found on a quick grep – it might be elsewhere as well. Not sure. However, I do think it would be good to have this as a config option as well.garvinhicking wrote:Ah, ok. Then it's a serendipity_config_local.inc.php variable that would need to be set...
YL