Results 1 to 10 of 10
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    Hello. I've been looking thru WebMerge documentation as well as the posts here for 45 minutes but I can't find anything about HTML code showing up in the visable text on the detail page.

    Background:
    -I just bought WebMerge this A.M.
    It is so cool!
    -I'm using a datafeed from BeFree
    -The datafeed is tab delineated

    I'm sure I need to change something in my Source Data File, but I can't figure out what to change.

    Can you point me to a tutorial or post that will help me? Thanks so much. April

    April L Lougheed

  2. #2
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    I'm following up on my own post - I found the following about making Hyperlinks seen as Text Links - which gives me some clue about changing the template to get the results you want.

    So now I'm just trying to figure out if my "code showing up on the page" problem is a source data problem or a template problem.

    Looking for a two word answer on this.

    QUOTE:

    Just to get you started, create a blank html file and put this into it:

    [WM-Record]
    <A HREF="[WM-Field: LINK]" TARGET="_BLANK">
    <IMG SRC="[WM-Field: THUMBNAIL]" BORDER=0 ALT="[WM-Field: NAME]"><BR>
    [WM-Field: PRICE]</A>
    [/WM-Record]

    April L Lougheed

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    9
    I suspect you are missing the header:

    <!doctype html public "-//w3c//dtd html 3.2//en">

    This needs to go above the <html>. Some browsers display the source code if it isn't there.

  4. #4
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    Hi Theresa - thanks so much. That statement was missing from my document - but adding it didn't seem to solve my problem.

    HOWEVER -
    All of a sudden, I'm running across a bunch of posts that I think will address my problems.

    I've posted another relevant answer below for anyone elses' reference.



    ALSO COMMON are weird characters in descriptions and names. I usually just find/replace 'em out. Find (funny character), replace with (nothing, or if something obviously should be there, then replace with that). That's the end of that problem, at least until you import new data.

    April L Lougheed

  5. #5
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    Ohhh. I just had a revelation -- what I need to do is search and replace the code in the source data feed text file to change what is now in HTML code "<" to "&lt". Then when it gets pulled into the HTML page it will show the less than sign in the source code and thus the correct information in the visable text.

    Wow - this one is hard to explain.

    Is there a way to say "thanks - this has been answered". So others will not continue to try to help?

    Thanks, April

  6. #6
    ABW Ambassador Nature Boy's Avatar
    Join Date
    January 18th, 2005
    Location
    Tennessee
    Posts
    1,423
    Have you tried adding raw to the field in you template?

    ie. [WM-Field: Description raw]

    If I understand what you were asking, this will save you the trouble of doing a find and replace.

    -----------------------------
    Scott

    Have a nice day unless you have other plans

  7. #7
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by aprillougheed:
    Hello. I've been looking thru WebMerge documentation as well as the posts here for 45 minutes but I can't find anything about HTML code showing up in the visable text on the detail page.<HR></BLOCKQUOTE>

    From the WebMerge Help page on the WM-Field tag:

    Using the raw attribute
    By default, WebMerge converts field data to HTML. The conversion changes all non-ASCII characters to their corresponding character entity according to the ISO 8859-1 standard. For example, the character "&lt;" becomes "&lt;". This attribute is useful if your database contains some fields whose data is already in HTML format, to prevent WebMerge from altering it for Web display. If your field already contains HTML, you can tell WebMerge not to perform this conversion by using the raw attribute.

    Example:

    [WM-Field: MyFieldName raw]

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  8. #8
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    Richard - Thank you. I did miss that part of your documentation. I love this script. Really!

    April L Lougheed

  9. #9
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR> ALSO COMMON are weird characters in descriptions and names. I usually just find/replace 'em out. Find (funny character), replace with (nothing, or if something obviously should be there, then replace with that). That's the end of that problem, at least until you import new data. ~ME! <HR></BLOCKQUOTE>

    I recognize my writing, there.

    To clarify, when I wrote that (in some other thread--I'm not going looking for it now), I would have been referring to characters that come out as oddballs despite the use of "raw." Things like foreign language characters, etc.

    ~Cheapskate merchants need not apply

  10. #10
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Leader:
    To clarify, when I wrote that (in some other thread--I'm not going looking for it now), I would have been referring to characters that come out as oddballs _despite_ the use of "raw." Things like foreign language characters, etc.<HR></BLOCKQUOTE>

    WebMerge currently uses the ISO 8959-1 character set. Unicode support is in development, likely for v3.0.

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  11. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Can WM be used without detail pages?
    By webworker in forum WebMerge (Fourthworld.com)
    Replies: 29
    Last Post: July 3rd, 2006, 05:58 PM
  2. Link detail pages between them
    By falco85 in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: January 3rd, 2006, 09:10 AM
  3. Detail Pages With More Than One Record
    By John Powell in forum WebMerge (Fourthworld.com)
    Replies: 5
    Last Post: November 2nd, 2005, 10:05 PM
  4. Detail Pages
    By perudc in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: November 3rd, 2003, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •