Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 07, 2010 @ 17:40
    Lee Kelleher
    0

    Robots.txt Editor v2 Released

    I finally got around to releasing version 2 of the Robots.txt editor.

    Changes & new features:

    • Restructured the package files, they all live in a folder called "robots-txt" (still under the /umbraco folder - but self-contained)
    • Errors are now displayed using the Feedback control (as opposed to the Speech Bubble in the bottom-right corner).
    • Robots.txt editor has buttons for adding new User-Agent and Disallow rules, as well as comment/uncomment functionality.
    • Changed the Robot icon... courtesy of Mozilla Firefox's "about:robots" favicon.
    Hope you all enjoy the update... let me know if you come across any bugs or ideas for a future release!
    Cheers,
    - Lee

  • Jorrit 1 post 22 karma points
    Jan 18, 2010 @ 16:28
    Jorrit
    1

    Hi Lee great package but I found a little bug in your javascript. When you cancel an "insert disallow rule" it still adds an empty rule. The following lines solves this problem.

     

     

     

    function

     

    robotsTxtInsertRule(rule, defstr) {

     

    var value = prompt('Please enter a value for the rule', defstr);

     

    if (value) { // check if the OK button is pressed

    insertCode(

    '\n' + rule, value, '<%= editorSource.ClientID %>');

    }

    }

    Jorrit

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2010 @ 21:48
    Lee Kelleher
    0

    Thanks Jorrit, I'll add the check to the next version!  Much appreciated.

    Cheers, Lee.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies