Click to See Complete Forum and Search --> : Please Review: Meta Tag Generator


donatello
03-12-2010, 10:58 AM
Meta Tag Generator (http://www.MetaTagGenerator.org)

I was quite surprised to be able to easily get the domain:
MetaTagGenerator.org

So have quickly put up a meta tag generator that I made in PHP... hope you like it and find it useful... :)

I've made it to include optional tags such as meta transitions with combobox select menus to make it fast & easy.

The page is a basic WordPress CMS set for a static homepage... I've used JavaScript and PHP to build the generator and expandable definitions on the Reference page.

Any suggestions for other meta tags you like to use?

tracknut
03-12-2010, 12:26 PM
Interesting idea. It generates xhtml syntax, though it says its html. Perhaps you should have a radio box selection for one or the other?

Dave

donatello
03-12-2010, 04:48 PM
Thanks for that Dave. You are absolutely right...

I believe that most people are gravitating towards XHTML from HTML, as it is "extended" html and thus is more flexible... besides, XHTML syntax will parse fine and is better in my book...

Besides, I'm LAZY and to add the button to make it html might be overkill... what do you think?

Does select="selected" vs. selected make a big difference?
<BR> vs. <BR />

I'll see how it goes... thanks for the tip...


Should I mention that the syntax is exclusively xHTML?
I think it might be useful to know...

donatello
03-12-2010, 04:55 PM
Interesting idea. It generates xhtml syntax, though it says its html. Perhaps you should have a radio box selection for one or the other?

Dave

Dave, BRO!
Now you did it...
I'm going to be tossing and turning all night until I make a radio button for xHTML and HTML!

LOL

I'll get you for this!
:D
</ :)>

tracknut
03-12-2010, 05:06 PM
Dave, BRO!
Now you did it...
I'm going to be tossing and turning all night until I make a radio button for xHTML and HTML!


Sorry!! :cool:

Personally I get a bit annoyed when a site tells me "just include this code" and then it doesn't validate. Call it a pet peeve of mine, but that's the way I am....

I won't even touch your assumption that folks are migrating to xhtml. ;)

Dave

donatello
03-13-2010, 06:35 AM
Thanks for the suggestion Dave.
I did it... check it out.


There are now two buttons, one will generate xHTML (my preference); the other will generate plain old vanilla HTML. :)

meta tag generator (http://www.metataggenerator.org)

tracknut
03-13-2010, 09:36 PM
Looks good, but your last two <link...> lines still have the terminating "/>" in them.

Dave

Not to mention
03-13-2010, 10:17 PM
I won't even touch your assumption that folks are migrating to xhtml. ;)


Is this true? I spent 3 baffled childish years learning HTML and now I have to learn something completely different or go obsolete?

Anyway I thought the site was a handy idea, I used it for my site. It is also very straightforward and easy to use, even the help thingy was very brief yet explanatory. As far as how well the output works, I have no idea yet.

donatello
03-14-2010, 09:11 AM
Looks good, but your last two <link...> lines still have the terminating "/>" in them.

Dave

Thanks Again!
Absolutely right again!
Fixed again!:cool:

By default, the generator displays whatever was displayed in the field for the favicon path.

Technically, those are not even meta-tags, but I always find myself installing the favicon code with the metatag code, so stuck it in there... I wanted those fields modifiable, as sometimes WordPress Themes have the favicon in the "Themes" directory, and this would enable users to modify the path prior to generating the code.

So instead of creating another one, I took a shortcut and simply strip the trailing slash out of the field when it appears like this:


echo str_replace(' />', '>', $_POST['favicon']);

donatello
03-15-2010, 05:03 AM
Is this true? I spent 3 baffled childish years learning HTML and now I have to learn something completely different or go obsolete?

Anyway I thought the site was a handy idea, I used it for my site. It is also very straightforward and easy to use, even the help thingy was very brief yet explanatory. As far as how well the output works, I have no idea yet.

Well, it's not so dire... it's only an upgrade to HTML... the main difference is that the attributes must be all lowercase, and ALL tags must be closed with a space and trailing slash including 'empty' tags such as <BR> <HR> <BASE> <META> and <img> ...

HTML
<BR>, <HR>, <img src="yourimage.jpg" alt="image">, <META name="keywords" CONTENT="dogs, puppies, hounds">

XHTML
<br />, <hr />, <img src="yourimage.jpg" alt="image" />, <meta name="keywords" content="dogs, puppies, hounds" />

So, for the most part, if you know HTML, you mostly already know xhtml. :)

Nomac
09-03-2010, 05:42 AM
Can't understand, what is the problem

neher
09-03-2010, 05:51 AM
You should read some books $)

robertinventor
09-03-2010, 09:36 AM
Easy to use, looks good, just used it myself, well done.

Congratulations on the domain name.

donatello
12-05-2010, 12:10 PM
Yeah, I was surprised to get the domain... some guy just offered me 1500 Euros for it.