Discussion:
Xenu Link-Sleuth: editing site maps
(too old to reply)
Adrian Stock
2005-03-04 17:32:03 UTC
Permalink
Hi,

I have just created my first site map with Xenu Link Sleuth.

The list elements <li> in code view are all strung up in one line or
paragraph.

Is there a way (short of doing it by hand) of letting each <li> start on
a fresh line, for easier editing of the finished site map?

Thanks.

Adrian
David Stiller
2005-03-04 17:43:28 UTC
Permalink
Adrian,
Is there a way (short of doing it by hand) of letting each <li> start on a
fresh line, for easier editing of the finished site map?
You could search for this:

</li><li>

And replace it with this:

</li>
<li>


David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Adrian Stock
2005-03-04 18:32:13 UTC
Permalink
Post by David Stiller
Adrian,
Is there a way (short of doing it by hand) of letting each <li> start on a
fresh line, for easier editing of the finished site map?
</li><li>
</li>
<li>
David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Thanks, I will try this. But it will be difficult in DW. The
find/replace function in DW does not allow me to have a line break in
the replace field. If I hit <return> in the Replace field, it will set
the function off.

(Or is there a way of doing that.)

I could to the search/replce in Word or in Notepad.

Anything simpler?

Any comments?

Tx

Adrian
Kenneth W. Binney
2005-03-04 18:11:02 UTC
Permalink
IF DW's Find & Replace won't let you enter a manual line break

1. Copy your <LI>'s into MS Word
2. Find <LI> and Replace with Enter<LI> (It will look like ^<LI>)
3. Cut & Paste into Notepad (to strip out any MS garbage
4. Then Cut & Paste the text into code view
Post by Adrian Stock
Hi,
I have just created my first site map with Xenu Link Sleuth.
The list elements <li> in code view are all strung up in one line or
paragraph.
Is there a way (short of doing it by hand) of letting each <li> start on a
fresh line, for easier editing of the finished site map?
Thanks.
Adrian
Adrian Stock
2005-03-04 18:33:46 UTC
Permalink
Post by Kenneth W. Binney
IF DW's Find & Replace won't let you enter a manual line break
1. Copy your <LI>'s into MS Word
2. Find <LI> and Replace with Enter<LI> (It will look like ^<LI>)
3. Cut & Paste into Notepad (to strip out any MS garbage
4. Then Cut & Paste the text into code view
Ah, ok, That's what I thought.

Thanks for confirming it.

Adrian
David Stiller
2005-03-04 19:20:27 UTC
Permalink
No need to copy to Word and then to Notepad.

Just type </li>
<li> (with line break) into Notepad and copy *that* into the Replace field.
Use DW for the grunt work.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Adrian Stock
2005-03-04 20:37:38 UTC
Permalink
Post by David Stiller
No need to copy to Word and then to Notepad.
Just type </li>
<li> (with line break) into Notepad and copy *that* into the Replace field.
Use DW for the grunt work.
David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Hi David,

That worked all right.

Tx.

Adrian
Joe Makowiec
2005-03-04 18:35:52 UTC
Permalink
Post by Adrian Stock
I have just created my first site map with Xenu Link Sleuth.
The list elements <li> in code view are all strung up in one line or
paragraph.
Is there a way (short of doing it by hand) of letting each <li>
start on a fresh line, for easier editing of the finished site map?
Pop it into DW; Commands>Apply Source Formatting.
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
Murray *TMM*
2005-03-04 18:40:33 UTC
Permalink
D'oh....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
Post by Joe Makowiec
Post by Adrian Stock
I have just created my first site map with Xenu Link Sleuth.
The list elements <li> in code view are all strung up in one line or
paragraph.
Is there a way (short of doing it by hand) of letting each <li>
start on a fresh line, for easier editing of the finished site map?
Pop it into DW; Commands>Apply Source Formatting.
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
David Stiller
2005-03-04 19:19:35 UTC
Permalink
Post by Murray *TMM*
D'oh....
N'oh! If you're okay with DW's formatting, then do that. I,
personally, am not. It matters not to the browser, but it matters to an
anal retentive coder like me. ;) And it's too much of a hassle to nit pick
through the formatting preferences tag by tag.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."
Adrian Stock
2005-03-04 20:32:17 UTC
Permalink
Post by Joe Makowiec
Post by Adrian Stock
I have just created my first site map with Xenu Link Sleuth.
The list elements <li> in code view are all strung up in one line or
paragraph.
Is there a way (short of doing it by hand) of letting each <li>
start on a fresh line, for easier editing of the finished site map?
Pop it into DW; Commands>Apply Source Formatting.
Tx, but sorry, no. Source Formatting does not re-arrange the list items.

Adrian
Adrian Stock
2005-03-04 20:48:55 UTC
Permalink
Post by Adrian Stock
Hi,
I have just created my first site map with Xenu Link Sleuth.
The list elements <li> in code view are all strung up in one line or
paragraph.
Is there a way (short of doing it by hand) of letting each <li> start on
a fresh line, for easier editing of the finished site map?
Thanks.
Adrian
May I raise another question on using Xenu Link-Sleuth for creating site
maps.

The process is still quite tedious.

The links which Xenu creates all start with the local root drive and
therefore have to edited with a lot of search/replace operations before
they are document relative and before they can possibly work on the
remote server after uploading.

<li><a href="file:///G:/websites/schools/... ...

I also find that the Xenu site map does not create a hierarchy of
folders and files (unlike the Project Seven menu software).

I have my directories carefully structured so that mirroring them will
result in a good menu. Xenu only gives me the end-files. I have to
type in the hierarchies by hand.

And then possibly create document relative links for each file by
clicking in DW.

So Xenu does not save me much labour, except that it makes sure that I
cannot possibly forget a file, however obscure its location.

-------------------

Perhaps I am not using Xenu properly. ???

Is there any more efficient software for creating site maps - perhaps
similar to the Project Seven menu software?

Adrian
Gary White
2005-03-04 21:34:33 UTC
Permalink
Post by Adrian Stock
I have my directories carefully structured so that mirroring them will
result in a good menu. Xenu only gives me the end-files. I have to
type in the hierarchies by hand.
And then possibly create document relative links for each file by
clicking in DW.
If you have PHP support, you may be able to use this one:

http://apptools.com/phptools/dynamicsitemap.php


Gary

Loading...