• Adding keywords to your titles (All)

    Home » Forums » Developers, developers, developers » Web design and development » Adding keywords to your titles (All)

    Author
    Topic
    #387278

    Hey folks, been away for a while, due to work and home life! evilgrin

    However, yesterday my boss was mumbling about having to put keywords into every page’s title, on our website. How it was going to be such a daunting task. Apparently a lot of search engines like to pick up keywords for your site from the page titles. My boss was tasked with raising our website’s listing on the various search engines, so he spends his days wandering through mundane help files, etc. Anyhow, he doesn’t think about how easy some ‘repetitive’ tasks really are, if tackled from code.

    So in a few minutes, I whipped up this little form in Front Page, which simply adds key words to every page’s title. It’s not overly complex, nor is it extremely flexible. The keywords are hard coded, however, it is smart enough to not add a keyword if it exists in the title already. It doesn’t ‘remove’ old keywords though, however a slight modification could provide a lot of those ‘missing’ capabilities….this is just a good example of how VBA can simplify repetitive tasks. (I am not extremely familiar with FP’s object model, so I spent half of the 10 minutes righting this, just looking through the help files! grin)

    It’s attached to this post, you should be able to just import it into FP.

    Viewing 0 reply threads
    Author
    Replies
    • #675324

      bravo Good stuff, Drew, thanks for sharing! If I have some time I may try to add some functionality to this and post it back. I’d like to do the same with META and a few other header tags.

      • #675325

        There is a MetaTags collection for the WebFile object…just looked in the help files (told you I’m not familiar with the FP Object model! grin).

        I’m not going to tell my boss, cause he’s been spending a lot of time on the meta tags too! evilgrin

    Viewing 0 reply threads
    Reply To: Adding keywords to your titles (All)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: