Please Review: Meta Tag Generator
Meta Tag Generator
I was quite surprised to be able to easily get the domain:
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.
Any suggestions for other meta tags you like to use?
Interesting idea. It generates xhtml syntax, though it says its html. Perhaps you should have a radio box selection for one or the other?
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...
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
Looks good, but your last two <link...> lines still have the terminating "/>" in them.
Is this true? I spent 3 baffled childish years learning HTML and now I have to learn something completely different or go obsolete?
Originally Posted by tracknut
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.
Resistance is futile if < 1Ω
Originally Posted by tracknut
Absolutely right again!
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']);
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> ...
Originally Posted by Not to mention
<BR>, <HR>, <img src="yourimage.jpg" alt="image">, <META name="keywords" CONTENT="dogs, puppies, hounds">
<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.
Last edited by donatello; 03-15-2010 at 06:29 AM.
Can't understand, what is the problem
You should read some books $)
Easy to use, looks good, just used it myself, well done.
Congratulations on the domain name.
Yeah, I was surprised to get the domain... some guy just offered me 1500 Euros for it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread