Adobe Forums

Add Me
Adobe Forums » Software Discussions » GoLive » Macintosh » Removing anchors from FrameMaker HTML conversion

Tags:



Reply
LinkBack Thread Tools Display Modes
Removing anchors from FrameMaker HTML conversion
  #1 (permalink)  
Old 09-29-2008, 11:33 PM
Karen_Robbins@adobeforums.com
Guest
 
Posts: n/a
Default Removing anchors from FrameMaker HTML conversion

After converting a FrameMaker document into an HTML site, I'm left with an anchor (marker) for nearly every single element on every HTML page: paragraph, list, heading, etc. Besides the code bloat, it makes viewing and working with pages in GoLive difficult.

Is there a way to remove all these anchors in bulk from the HTML? Search-and-replace doesn't work in the usual sense, because every anchor has a unique numerical value. Some sort of script? Third-party tool? Any help would be appreciated.

Thanks,
Karen


Reply With Quote


  #2 (permalink)  
Old 09-29-2008, 11:33 PM
Nate_Baldwin@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Hi Karen,

What version of GoLive are you using? Can you post a link to an example page with the anchors? Would need to see if there's something that can be used to identify just those anchors in a Find By Element search.
Reply With Quote


  #3 (permalink)  
Old 09-29-2008, 11:33 PM
Karen_Robbins@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Hi Nate,

Using GL CS2 8.0.1.

See <http://www.registrar.ucla.edu/catalog/catalog08-09-20.htm> as an example.

Look for coding similar to . The first set of numbers is usually (not always) the same for all the converted pages. The second set is unique for every anchor.

Thanks,
Karen
Reply With Quote


  #4 (permalink)  
Old 09-29-2008, 11:33 PM
Murray
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

It would be a snap in Dreamweaver - do you have access to that?

--
Murray


Reply With Quote


  #5 (permalink)  
Old 09-29-2008, 11:33 PM
Karen_Robbins@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Murray,

Yes, I have dreamweaver... um, but only version 8. Will that do?

Karen
Reply With Quote


  #6 (permalink)  
Old 09-29-2008, 11:33 PM
Nate_Baldwin@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

If you're already working in GoLive CS2, may as well fix it in that. Here are the steps:

1. Make a back-up of your file (in case something doesn't get entered or processed correctly).
2. With your file opened, go to Edit > Find > Find Code Elements
3. for Element, choose "Is" and "a" for anchor elements.
4. for Attribute, choose "name" and "Matches Reg. Expr." and enter this pattern in the field:
50532357_.*
....to tell it to search for any name attribute starting with "50532357_" (the . means any other character, the * means any number of other characters).
5. expand the area below for Change, and under Element choose "Replace by its content" so it strips out the element only.
6. hit the Apply to All button to find and replace all.

Here's a screen shot of the settings:
<http://www.mindpalette.com/remote_images/FindCodeElements.png>
Reply With Quote


  #7 (permalink)  
Old 09-29-2008, 11:33 PM
Karen_Robbins@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Ah-hah! Nate, this works marvelously! Thank you so much.

--Karen
Reply With Quote


  #8 (permalink)  
Old 09-30-2008, 08:07 AM
Murray
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Good going, Nate!

Process in Dreamweaver would be nearly identical.

--
Murray


<Nate_Baldwin@adobeforums.com> wrote in message
news:59b69d51.4@webcrossing.la2eafNXanI...
> If you're already working in GoLive CS2, may as well fix it in that. Here
> are the steps:
>
> 1. Make a back-up of your file (in case something doesn't get entered or
> processed correctly).
> 2. With your file opened, go to Edit > Find > Find Code Elements
> 3. for Element, choose "Is" and "a" for anchor elements.
> 4. for Attribute, choose "name" and "Matches Reg. Expr." and enter this
> pattern in the field:
> 50532357_.*
> ...to tell it to search for any name attribute starting with "50532357_"
> (the . means any other character, the * means any number of other
> characters).
> 5. expand the area below for Change, and under Element choose "Replace by
> its content" so it strips out the element only.
> 6. hit the Apply to All button to find and replace all.
>
> Here's a screen shot of the settings:
> <http://www.mindpalette.com/remote_images/FindCodeElements.png>


Reply With Quote


  #9 (permalink)  
Old 09-30-2008, 08:07 AM
JohnDonaldson@adobeforums.com
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion



It would be a snap in Dreamweaver




And a snap in GoLive too :-)

John
Reply With Quote


  #10 (permalink)  
Old 09-30-2008, 08:07 AM
Murray
Guest
 
Posts: n/a
Default Re: Removing anchors from FrameMaker HTML conversion

Yeah - so I see.... 8)

--
Murray


> And a snap in GoLive too :-)
>
> John

Reply With Quote


Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Hairstyles | UFO Videos | Bollywood Wallpapers | Poems  | WWE


All times are GMT. The time now is 02:27 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.