/    Sign up×
Community /Pin to ProfileBookmark

List maker…?

Is there any javascript that will allow me to copy and paste the file names of hundreds of mp3’s into a textarea (where each new line is a new list object) and then by clicking a button I can turn them into a numbered list?

The mp3’s would contain apostrophies, periods, hashes, dashes and commas (‘.#-,).

So I would paste in….

The Lighthouse Family – Ocean Drive
Eminem – Without Me
Robbie Williams – Feel

…and it turns out like this…

  • 1. The Lighthouse Family – Ocean Drive

  • 2. Eminem – Without Me

  • 3. Robbie Williams – Feel
  • It’s just really tedious typing the numbers. I have already tried a web-based list generator but they require me to copy and paste each individual song title in it’s own text field…which is just as bad as typing the numbers.

    PLEASE PLEASE HELP.

    to post a comment
    JavaScript

    3 Comments(s)

    Copy linkTweet thisAlerts:
    @Khalid_AliJun 05.2003 — If I understand you correctly here is something that might like to see..

    http://68.145.35.86/skills/javascripts/CreateOrderedListFromTextAreaText.html

    Its not optimised in anyway.

    Let me know if there are any issues...I have tested it wiht NS6+ and IE6+
    Copy linkTweet thisAlerts:
    @W8_4meauthorJun 05.2003 — That looks like a really juicy link but it says "cannot find server". I tried the link at 13:10 GMT.
    Copy linkTweet thisAlerts:
    @W8_4meauthorJun 05.2003 — I think I've found what I'm looking for, but thanks anyway.

    Anyone who wants to do the same, go here http://www.jwscripts.com/scripts/source.php?id=3

    All you have to do is change the "ul" to "ol" in the script. I presume.

    Thanks guys!

    EDIT: Oh right, I just tested it and it creates the tags and copies them to the clip board. Ah well it'll do, just save it as a html file and copy and paste the result. Wooohooo!
    ×

    Success!

    Help @W8_4me spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.20,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...