www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Site Management > Website Reviews

    Website Reviews List your website here to have it reviewed by the webdeveloper.com community.

    Reply
     
    Thread Tools Rate Thread Display Modes
      #1  
    Old 03-12-2010, 10:58 AM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    Please Review: Meta Tag Generator

    Meta Tag Generator

    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?
    Reply With Quote
      #2  
    Old 03-12-2010, 12:26 PM
    tracknut's Avatar
    tracknut tracknut is offline
    Registered User
     
    Join Date: Aug 2006
    Posts: 1,205
    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
    __________________
    Skinny Dog Studios
    Reply With Quote
      #3  
    Old 03-12-2010, 04:48 PM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    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...
    Reply With Quote
      #4  
    Old 03-12-2010, 04:55 PM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    Quote:
    Originally Posted by tracknut View Post
    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!

    </ >
    Reply With Quote
      #5  
    Old 03-12-2010, 05:06 PM
    tracknut's Avatar
    tracknut tracknut is offline
    Registered User
     
    Join Date: Aug 2006
    Posts: 1,205
    Quote:
    Originally Posted by donatello View Post
    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!!

    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
    __________________
    Skinny Dog Studios
    Reply With Quote
      #6  
    Old 03-13-2010, 06:35 AM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    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
    Reply With Quote
      #7  
    Old 03-13-2010, 09:36 PM
    tracknut's Avatar
    tracknut tracknut is offline
    Registered User
     
    Join Date: Aug 2006
    Posts: 1,205
    Looks good, but your last two <link...> lines still have the terminating "/>" in them.

    Dave
    __________________
    Skinny Dog Studios
    Reply With Quote
      #8  
    Old 03-13-2010, 10:17 PM
    Not to mention Not to mention is offline
    Registered User
     
    Join Date: Jul 2008
    Posts: 147
    Quote:
    Originally Posted by tracknut View Post

    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.
    __________________
    Resistance is futile if < 1Ω
    Reply With Quote
      #9  
    Old 03-14-2010, 09:11 AM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    Quote:
    Originally Posted by tracknut View Post
    Looks good, but your last two <link...> lines still have the terminating "/>" in them.

    Dave
    Thanks Again!
    Absolutely right again!
    Fixed 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:

    PHP Code:
    echo str_replace(' />', '>', $_POST['favicon']);
    Reply With Quote
      #10  
    Old 03-15-2010, 05:03 AM
    donatello's Avatar
    donatello donatello is offline
    Registered User
     
    Join Date: Jun 2008
    Location: Europe
    Posts: 692
    Quote:
    Originally Posted by Not to mention View Post
    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.

    Last edited by donatello; 03-15-2010 at 05:29 AM.
    Reply With Quote
    Reply

    Bookmarks

    Tags
    generator, meta, meta tag, meta tags


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:07 PM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.