views:

37

answers:

1

Suppose I have some sort of proprietary web framework. Should I include a <meta generator="My framework"> tag in the generated files?

I noticed that StackExchange 0.9 applications do that, and wondered what are the pros/cons of doing it. Does it have any effect, or is it just useful for people looking at the source to see?

+2  A: 

I don't think it has any standard use. But it does provide useful meta-data about what web application was used to create that page, and some web apps do actually look at it (by using some kind of analytics technique) and use it for some meaningful purpose.

For instance, WordPress uses the generator meta tag for blog statistics purposes, to see which installations are using what versions:

<meta name="generator" content="WordPress 3.0.1" /> <!-- leave this for stats -->

In the past when dynamic web apps weren't that prevalent, certain web site editors, like FrontPage (there, I said it), would automatically insert generator tags when you create new HTML documents or publish sites using them. This was taken to mean "This page was created using FrontPage" or something like that. I don't think any modern editors or IDEs do this anymore, but I could be wrong.

BoltClock
Ah, I remember that. The steps to creating a web page: `(1)` Create a web page. `(2)` Delete generator tag.
configurator
@configurator: those were the good ol' days :)
BoltClock