I do not have time to troubleshoot people's code. (Hopefully I will again in the future).
I do not have much time to answer questions (but if it is a quick answer, that only takes me a few minutes, I will try to answer).
I really recommend the following site, for myspace customizing questions: Official Myspace Customizing Forum
That is the most reliable source, and the people I know who enjoy helping, and are quite good at it, tend to hang out there.

Sunday, December 03, 2006

Blogger Software Quirks (Bugs?)

New irritating bug/feature [found Nov 2007]
The tendency to strip quote(s) out of my javascript commands which use the replace method. How irritating, I may end up with a "real" web page yet.
I have been writing some stuff in javascript with the intent of having it work in blogger.
I just went to place something, which worked very nicely on its own, on one of my blogs.
Result: It didn't work at all. I discovered the problem was that blogger was stripping off one of the quotes surrounding my text where I was using the replace method.
This is more irritating then messing with my comment tags (for those I found a work around, who needs comment tags anyway, when display:off works so well).


Irritating bug/feature number 1:
The tendency of the blogger code generator to mess with html comment tags.

For a while I had no Blogger banner on the top of my page if viewed with firefox (it was there if viewed with IE).
I fixed the problem, but the cause was very interesting.
This symptom first occurred when I decided to “comment out” a background graphic I had placed into my template. (i.e. I surrounded it by comment tags to prevent the code block from being executed.)
The html code, which eventually determines how the page behaves, is generated by the blogger software. From what I can tell, it is taking what I have put in my template, combining it with data in the data base, and generating code using some auto-code generator.
During this process, it removes, adds and/or replaces various html tags (Obviously they know better than I what tags need to be in the code). In this case, it removes the end comment tag I placed after the block I wanted to be ignored. Why? Maybe because it doesn't think it needs it since it is placing its own start and end comment tags directly after my block.

When I viewed the html code it had generated, in Firefox, the code which would display the blogger banner was all "commented out". [Because firefox has a color coded editor I could easily tell what it considered to be "commented out" code.]
When I viewed the same code in IE, it did NOT consider the blogger banner code to be "commented out".

Why? I can only guess.
Firefox remembered that I had 2 open comments, and only one close comment, so it considered the comment still open. IE did not. (Most languages would behave as IE did in this case).

To see this phenomena you can view my test page test page
If using Firefox the blogger banner is gone. Look at the source that blogger generated. If using IE it shows the banner.
How does it display in other browsers, people are using? Does it show the banner?

I have seen other quirks, related to blogger created html comment tags. However, in the other cases it was IE (not Firefox) which had the "buggy" behavior.

I have found some quirks with the embed tag as well, but I will cover that one another time (OR NOT, depending of if I think anyone is interested enough for me to take the time to type it in).

6 Comments:

Blogger crallspace said...

Hell, if anyone not using Safari views my page, it looks like a mess I'm told and my sidebars don't show up.

You on Safari? If not, go to the blog and tell me if you see the sidebar on the immediate right with links, the IMPEACH banner, etc. I will likely add you soon to my links. No time tonight... and would I just call you "Coboble?" Is it pronounced "Co-BOB-ol?" (with BOB accentuated?)

3/12/06 21:49  
Blogger coboble said...

crall,
Your web page looks fine in both IE and Firefox (the only two I have installed).

You got the pronunciation, I think, the BOB would be accentuated.
My high school English teacher thought I should have doubled the B (i.e. cobobble) but I like it the way it is.
The name, is based on a character I created when I was a kid.
I am not certain, but I may have based the name on a word my mother used to use, discombobulated or something. I had no idea how the word was spelled, but had heard her say it.

I have no idea what direction I am going with this blog, so the current "views under construction" name may not match the direction I go.
Maybe "under-construction" without the views, then if I start posting photos of my LEGO stuff it will still fit. In fact I think I did try to get that name and it was not available.

3/12/06 22:39  
Blogger MAX Redline said...

Interesting sleuthing. Would it be correct to assume that you're using IE 6.x? That is the version I'm using, though overlain with Maxthon extensions.

Blogger's been misbehaving rather badly during the past couple of days. Perhaps it knows I'm about to jump ship.

4/12/06 16:01  
Blogger coboble said...

Yes, I have IE6.0.something. I might upload version 7 Christmas week when I have time to mess with it.

I saw interesting behavior over the weekend, with blogger as well. They must have been tweaking something.

I noticed you were using Beta. I don't, so I would not have necessarily experienced the same bugs as you.

I think there is some logic in there to detect if the blogger is planning on leaving (probably via cookies). I bet they put this logic in right next to the "If blogger is conservative Then ..." feature that another blogger has complained about.
(I am kidding of course ;-)

4/12/06 18:59  
Blogger MAX Redline said...

Yeah, I took a shot and went with Bbeta, which may have been a mistake, in hindsight. I hope to get the new site up to speed in the next week or so. Darn day job keeps interfering with blogging!

6/12/06 16:40  
Blogger eTheeSolutions said...

Well I agree, but I found a new software EDLS deals with sales and debtor ledgers, Why cannot u try it out? Even it is free for certain extends, contact eTheesolutions to get it eTheeSolutionsTeam@gmail.com

31/5/08 10:54  

Post a Comment

Due to Excessive Spam, I have turned on comment moderation.

Links to this post:

Create a Link

<< Home