Copied to clipboard

Flag this post as spam?

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


  • Matthew Schragal 13 posts 25 karma points
    Sep 25, 2009 @ 23:56
    Matthew Schragal
    0

    Get the url name from a string

    When you create an item in the Content section it is automatically given a default url based on its name.  For example:

    "2009 Illinois Super Lawyers"

    becomes

    "2009-illinois-super-lawyers.aspx"

    Is there a method in the API that will take a string ("2009 Illinois Super Lawyers") and return the stripped down name ("2009-illinois-super-lawyers")?

     

    Thanks,

    Matt

     

  • Mikael Mørup 297 posts 326 karma points
    Sep 26, 2009 @ 00:19
    Mikael Mørup
    0

    I don't know if there's an API but there is a config file that defines which chars are used for replacing spaces and other  "no go URL chars"

    Mikael

     

  • Matthew Schragal 13 posts 25 karma points
    Sep 26, 2009 @ 01:43
    Matthew Schragal
    0

    Huge help, which file?

  • Matthew Schragal 13 posts 25 karma points
    Sep 26, 2009 @ 01:58
    Matthew Schragal
    0

    found it, nevermind.  thanks!

  • Mikael Mørup 297 posts 326 karma points
    Sep 26, 2009 @ 09:41
    Mikael Mørup
    0

    Good, cause i forgot where it is :-)

  • 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