• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

Alphabetize a long link list

How would it be possible to alphabetize a long link list without messing up the code? i.e. by importing to msword, sorting then saving.
This seems like a simple task, but Homesite, etc. and other programs that ive searched can't do that.
Got any ideas?
thanks
-linkcat
0
linkcat
Asked:
linkcat
1 Solution
 
bassqueCommented:
your best bet is to import the page into excel....sort the list there...then export it

0
 
linkcatAuthor Commented:
Please, I asked how to alphabetize a html link list without adulterating (introducing ms tags, new formating, etc.) You suggested I import to excel. Excel does the same thing as MS Word. It makes a 100k HTML file a 200k HTML file it introduces so much.
Thanks anyway..
Seems like such a simple thing to do...
I guess not simple enough for me to figure it out..
0
 
linkcatAuthor Commented:
can anyone answer this?
thanks
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
redl1neCommented:
Would it be possible to use technology other then html? Here's what I would do (you will have to put in a lot of work initially, but after that, generating the code will be a piece of cake)

Put your links into an access database and use a basic asp page to query the db and sort them. At this point, you can do a view source and get the ordered list, paste it into a new document, and your set.

This will allow you to upate the list relatively easily too..
0
 
DoozerCommented:
Hi linkcat,

try the script created by Christopher Bradford - you can use it from within HS and it should be able to do what you want. See http://scripts.hsguide.com/scripts.php3 for details (it's sortlinks.js - if you sort by date on that page it should be near the top).
0
 
linkcatAuthor Commented:
Adjusted points from 50 to 100
0
 
linkcatAuthor Commented:
Answer accepted
0
 
linkcatAuthor Commented:
Thanks,
This is the perfect solutions. I just happened to be in a discussion with the author on the Allaire Homesite Forum, when he introduced this script, works perfectly.
It's weird though that he doesn't descrble exactly what it does on scripts.hsguide.com, which is:
It sorts the link text alphabetically by line, if you have one link per line obviously.
-Linkcat
0
 
DoozerCommented:
Hi again,

I changed the description on the site (blatantly ripping your last sentence). Note that *I* create the descriptions - the script author hardly ever is involved except in cases where I have a readme file to build on or a lengthy post on the HS forum. As I said, it's adjusted now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now