Solved

Alphabetize a long link list

Posted on 2000-03-27
9
259 Views
Last Modified: 2008-03-17
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
Comment
Question by:linkcat
9 Comments
 
LVL 1

Expert Comment

by:bassque
ID: 2662913
your best bet is to import the page into excel....sort the list there...then export it

0
 

Author Comment

by:linkcat
ID: 2691473
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
 

Author Comment

by:linkcat
ID: 2699098
can anyone answer this?
thanks
0
 

Expert Comment

by:redl1ne
ID: 2745714
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Accepted Solution

by:
Doozer earned 100 total points
ID: 2935129
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
 

Author Comment

by:linkcat
ID: 2936887
Adjusted points from 50 to 100
0
 

Author Comment

by:linkcat
ID: 2936888
Answer accepted
0
 

Author Comment

by:linkcat
ID: 2936889
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
 

Expert Comment

by:Doozer
ID: 2940648
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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now