[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Alphabetize a long link list

Posted on 2000-03-27
9
Medium Priority
?
279 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 

Accepted Solution

by:
Doozer earned 400 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

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.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

834 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