Jump to content

HTML not displaying


showbizkid

Recommended Posts

I like to use HTML code in the description fields of a cache site.

 

I have a cache description that is actually a graphic (not text) of a letter that contains the clues and challange. One of the areas in this graphic has a linkable hot spot.

 

The code works fine when it stands alone on a site not part of the geocache site. THE CODE WORKED FINE on the geocache site for approx 2 weeks and then suddenly does not work anymore. I have reports that it works sometimes for others and sometimes does not. It never works for me anymore. The seeker can still just type the html into their browser and proceed with the hunt but it is more effective if the link works.

 

The site is The Scarlet Letter in ZIP 29621. Look for the Dear Traveler letter that contains "http://...." language. This area should link to an external web page. It does not appear to be a matter of a bad link but that the hot spot is not recognized as the "hand" does not show up upon rollover.

 

Here is the code in the Long Description. The code was generated by Dreamweaver. Again this worked fine and then stopped. I have not edited the site at any time:

 

I basically

alter the background

create a table to insert my graphic

point to the graphic on my server

provide info on the location of the hot spot in the graphic and then point to the link

 

Thanks in advance for any help. C3

 

 

<body background="http://homepage.mac.com/mckinney3/KeyCode/A.jpg">

<p> </p>

<p> </p>

<table width="432" height="605" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#663300" bgcolor="#FFFFFF">

<tr>

<td><img src="http://homepage.mac.com/mckinney3/KeyCode/DearTraveler.jpg" width="432" height="1476" border="0" usemap="#Map"></td>

</tr>

</table>

<p> </p><p> </p><p> </p><div align="center">

<map name="Map">

<area shape="rect" coords="15,600,428,675" href="http://homepage.mac.com/mckinney3/KeyCode/Setting.html">

</map>

 

</div>

</body>

Link to comment

quote:
Originally posted by Jeremy:

Don't have a cow. Most of the formatting changes will be done by Friday.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location


 

Hehe!

 

 

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

Micqn's Stats

92 Found / 3 hidden

Numbers, Numbers, Numbers!

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

 

PlaYs WItH MaTCheS

Link to comment

I did an overhaul of the plumbing in the function that allows/disallows html. As a result I think I fixed 99% of the issues explained earlier. I need to run through the html book and see if I missed any display tags that may still be stripped.

 

I'll be creating a test page that will allow you to input your html above and be able to see the results below. It will also report which tags will be removed if you submit the html.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location™

Link to comment

quote:
I'll be creating a test page that will allow you to input your html above and be able to see the results below. It will also report which tags will be removed if you submit the html.

 


 

You talking a preview page for cache submission? That would be great.

 

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

I have never been lost. Been awful confused for a few days, but never lost!

N61.12.041 W149.43.734

Link to comment

quote:
Originally posted by rldill:

The images and background on Just about all of my caches are not working. Below is a list of a few but not all.


 

A quick look at your code shows me this:

 

<body background= "http://img.Groundspeak.com/cache/72783_300.gif"> <center><img SRC<img SRC="http://img.Groundspeak.com/cache/26582_3500.gif" NOSAVE height=150width"><

 

You need to remove the space between the equal sign "=" and the double quote for the URL.

 

In addition, that IMG SRC tag has all sorts of problems. It should be:

 

<img SRC="http://img.Groundspeak.com/cache/26582_3500.gif" height="150">

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location™

Link to comment

quote:
Originally posted by Jeremy (Admin):

quote:
Originally posted by rldill:

The images and background on Just about all of my caches are not working. Below is a list of a few but not all.


 

A quick look at your code shows me this:

 

<body background= "http://img.Groundspeak.com/cache/72783_300.gif"> <center><img SRC<img SRC="http://img.Groundspeak.com/cache/26582_3500.gif" NOSAVE height=150width"><

 

You need to remove the space between the equal sign "=" and the double quote for the URL.

 

In addition, that IMG SRC tag has all sorts of problems. It should be:

 

<img SRC="http://img.Groundspeak.com/cache/26582_3500.gif" height="150">

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location


 

Those spaces were not there before today, the no save is not on my my saved text that I pasted off of I just went and looked at 3 of them. They were all working before today.

Link to comment

quote:
Originally posted by Jeremy (Admin):

You need to remove the space between the equal sign "=" and the double quote for the URL.


It appears that the HTML standard allows spaces. From http://www.w3.org/MarkUp/html-spec/html-spec_3.html#SEC3.2.4

 

In a start-tag, the element name must immediately follow the tag open delimiter `<'.

 

Attributes

In a start-tag, white space and attributes are allowed between the element name and the closing delimiter. An attribute specification typically consists of an attribute name, an equal sign, and a value, though some attribute specifications may be just a name token. White space is allowed around the equal sign.

Link to comment

Everything seems pretty much back to normal on my pages, thanks Jeremy!

 

The one exception is "SELECT" tags. I guess these have been disallowed on purpose. Are they considered "FORM" tags? Does anyone know another (allowed) alternative? I was using them to provide a drop-list of related caches. Thanks.

Link to comment

I'm having problems with the <IMG> tag on a few of my caches. The spaces between the attributes are getting removed. When I edit the cache, the spaces show, but when I use View Source, there are no spaces.

 

An example cache is:

http://www.geocaching.com/seek/cache_details.aspx?guid=8c942d9a-e669-4624-a03f-ed2bdd106d0e

 

I am disabling these cache until the website is fixed to display the images again.

 

Because I still cannot post to the forums after five months, I'm asking LaPaglia to forward this message

 

Lapaglia icon_cool.gif

Muga Muchu (forget yourself, focus)

Link to comment

quote:
Originally posted by Lapaglia:

I'm having problems with the <IMG> tag on a few of my caches. The spaces between the attributes are getting removed.


I took at your cache and when I viewed the source I had a theory. It turns out that you must now use quotes around the attributes for it to work correctly. I edited the first image to demonstrate. The rest are up to you icon_wink.gif

 

Hemlock

Link to comment

There was a spacing issue for html where the name=value pairs were not in quotes (name="value"). I have corrected the issue and it should work now. I tested it against the above example and it corrected itself.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location™

Link to comment

quote:
Originally posted by BeachBuddies:

Everything seems pretty much back to normal on my pages, thanks Jeremy!

 

The one exception is "SELECT" tags. I guess these have been disallowed on purpose. Are they considered "FORM" tags? Does anyone know another (allowed) alternative? I was using them to provide a drop-list of related caches. Thanks.


 

I can re-enable the select tags, but you would be unable to use javascript to link anywhere. If folks just want it for display purposes, I could re-add it.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location™

Link to comment

When I viewd the displayed source of my two caches, my font color tags and a couple of other tags wre gone. Then I went to edit my cache pages, and my original HTML was there.

 

I edited a few lines of text, but not the tags, saved the description and all but one of the tags re-appeared. Cool!

 

BTW the <strike> </strike> aren't working still.

 

DustyJacket

Not all those that wander are lost. But in my case... icon_biggrin.gif

Link to comment

I'm having trouble with font size tonight.

 

On this cache I added a "Note on cache maintenance" in fine print prefaced by <font size =1> or <font size ="1">. It was repeatedly truncated to <font size> and the font is larger than normal instead of smaller. I'll go back to the edit page and reenter =1 or ="1" and it gets deleted when I save the changes.

 

erik - geocaching.com admin

Link to comment

quote:
Originally posted by The Artful Dodger:

Any chance that the <object> tag can be reinstated.


 

This is just one article that can show you how the object tag can be a Very Bad Thing. Yes, this patch effectively fixes this particular issue, but that does not mean there aren't others that haven't been patched yet. Also, many people do not patch their machines and can be vulnerable to these attacks for years to come.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location™

Link to comment

quote:
Originally posted by Jeremy (Admin):

I can re-enable the select tags, but you would be unable to use javascript to link anywhere. If folks just want it for display purposes, I could re-add it.


 

Hmmmm... I think it would just be confusing if the link didn't work. So, don't bother adding it back for me. I was using it as a quick and easy way to jump to related caches, but the "...all nearby caches" and "...other caches hidden by" hyperlinks will suffice. Thanks.

 

-BB

Link to comment

quote:
Originally posted by Jeremy (Admin):

 

I can re-enable the select tags, but you would be unable to use javascript to link anywhere. If folks just want it for display purposes, I could re-add it.

 

smile.gif Jeremy Irish

Groundspeak - The Language of Location


 

Could we use hyperlinks inside of the select tags?

 

[This message was edited by rldill on October 21, 2003 at 09:53 AM.]

Link to comment

Is someone going to tell me to open a new thread?

 

With all that has been said and done or not done yet with all the missing and edited tags and etc., has anyone considered the compatabilty of the GC.COM website with XHTML?

 

It is my understanding that the XHTML format is more in line with the memory needs of PDAs and simular devices. It has stricter rules regarding the opening and closing of tags and several other aspects that are deficiencies of the standard HTML.

 

Some of us who have their own FREE personal webpage(s) are not allowed to Hot-Links. Therefore, maintaining control over JPGs and GIF(animated or not) is a mute issue.

 

Where can I get a dependable FREE Personal Webpage that allows Hot-Links.

 

I too have had several of my caches ripped apart in one fashion or another. Most of the issues mentioned in earlier situations are familiar with me.

 

Should I write my pages to suit the 800x600 format with Medium font size(IE/View/Text Size)? I've had cachers complain that lines runs off the right edge of the screen. Isn't that what the H-Bar is used for?

 

When I write my cache pages, I don't use a "Cheater Program"(as I call them) such as FrontPage and the like. I use raw code with the assistance from CSE HTML Validator and the X-htML-Kit programs.

 

My latest creation, but not my best work, since they have been destroyed by recent system changes:

 

FAHRENHEIT-451! @ KRL-CB / GCHMHW / ID=15101

 

This cache was written in 100% XHTML and checked with Tidy, but I had to downgrade it to HTML.

 

I wonder if Image Mapping is allowed anymore?

 

So many questions and so much confusion!!!

 

FINI/ENDIT/NNNN/73s/30

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...