Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2007
    Location
    Atlanta, GA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    drag n drop links

    I have a large html page with about 800 links. The links are not in any sort of orer or categories.

    I would like to group the links by category.

    Is there some kind of visual editor that I could use for drag n drop manipulation?

    sorry, but I'm an old notepad kinda coder.

    Thanks

  • #2
    Regular Coder stevenmw's Avatar
    Join Date
    Jun 2007
    Location
    OK
    Posts
    497
    Thanks
    27
    Thanked 31 Times in 31 Posts
    I don't exactly follow? Wouldn't it be easier to create a database to put the links in? Maybe three rows like

    id
    link
    cat

    Then query out the links by category? Something like
    select link from table where cat = category

    Do you literally have an html list full of 800 hard coded links? If so, why?
    Thanks!

  • #3
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,001
    Thanks
    15
    Thanked 236 Times in 236 Posts
    Is there any text within the links that will help you categorize them ? If so there is an editor named SED that will extract them to a listing. However it normally only runs or Linux, Mac or Unix, but it can be ported to Windows. It usually runs in the BASH shell. It would take me about five minutes to write a shell script to do it.


    Or are you obliged to do it 'by hand' ?

    PS: I've found that you can drag and drop links into a textarea window,at least with modern browsers. Then you could upload them in a form and edit them with a text editor. But only includes the URL, they would have to be parsed.
    Last edited by DrDOS; 07-14-2013 at 02:35 PM. Reason: Add PS
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •