Solved

Alphabetize a long link list

Posted on 2000-03-27
9
260 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses four methods for overlaying images in a container on a web page
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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…

912 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

20 Experts available now in Live!

Get 1:1 Help Now