Dirty-South Blues Harp forum: wail on! >
HTML Help Please
HTML Help Please
Page:
1
nacoran
5368 posts
Mar 12, 2012
10:38 AM
|
I don't know if this is an HTML issue or a quirk of how this site works, but here goes...
Say I have the How-to page working all fine and dandy. It's saved and displaying correctly. If I open it to edit it, suddenly all the html that allows me to display html disappears and when I re-save it all the links are therefore now links and not html people can look at to figure out how to make their own html. The only way I've figured out to make it work is to save everything with the correct link html as a separate file and cut and paste it (but the site, to protect us from viruses won't let me do that!) or recode each part.
(You basically have the same problem when you use html in a post. I use a bulletin board converter-
http://javascript.about.com/library/blscr01.htm
to display html in posts, but if I edit it and resave it reverts to normal html instead of displayable html.
So, first, is it our site or is this a problem out on the rest of the web? Is there a good work around? If I have to issue a support ticket, what jargon do I use to explain this to them?
Thanks, Nate
---------- Nate Facebook Thread Organizer (A list of all sorts of useful threads)
|
Jim Rumbaugh
687 posts
Mar 12, 2012
10:55 AM
|
1) this message hboard does work a little different than some other boards I have visited. 2) a work around may be to save file to PDF and link to PDF
and may I add, I tried to post some html code BUT, as you experiencer, it exicuted, it did not display. ---------- HarmoniCollege March 24, 2012 theharmonicaclub.com (of Huntington, WV)
Last Edited by on Mar 12, 2012 11:02 AM
|
tookatooka
2814 posts
Mar 12, 2012
11:15 AM
|
I know what you mean and I can't think of a workaround off the top of my head. Worse comes to worse maybe you could just embed the video on the How To page?
|
nacoran
5370 posts
Mar 12, 2012
11:39 AM
|
The PDF file might work. I'll look into it. Got me thinking outside the box, and it gave me another work around idea... I could type the html out, take a screen capture, crop it, and post it as html.
Tooka, that's what I was planning on doing. The problem is, there are several spots on the page where I used the code to display HTML. When I edit the page, for some reason the code that lets the HTML display disappears. I can add a link to the video no problem, but in the process it will 'break' all the spots where I did that.
The problem with hosting a PDF is the site doesn't have any storage space of it's own for stuff like that. I could Drop Box it, but it would take up space on my Drop Box, which is sadly, nearly maxed out.
I'll submit a support ticket to see if I'm just missing something obvious, but keep the ideas rolling.
---------- Nate Facebook Thread Organizer (A list of all sorts of useful threads)
|
RyanMortos
1296 posts
Mar 12, 2012
1:34 PM
|
Nacoran,
Type '&+l+t' instead of the "<" in front of the "a". Then when you're done after the "a" instead of ">" type '&+g+t'.
Example:
< a href="http://www.modernbluesharmonica.com/blues_harp_forum.html">Modern Blues Harmonica < /a >
You can use this in front of or after all tags. If this doesn't make sense let me know I can reply after work.
----------

~Ryan
Advanced Intermediate: based on Adam's What Level Are You? guide.
"I play the harmonica. The only way I can play is if I get my car going really fast, and stick it out the window." - Steven Wright
Pennsylvania - H.A.R.P. (Harmonica Association 'Round Philly)
See My Profile for contact info, etc.
Last Edited by on Mar 12, 2012 1:41 PM
|
nacoran
5371 posts
Mar 12, 2012
2:03 PM
|
Ryan, that's what I do, but the next time I edit a page (or a post) it resets to just the HTML. (Actually, I cheat and use a page to convert it, but it inserts the &+l+T and all that for you.) It works, but then it undoes it if you edit the page again.
For instance, the first time I post the page it looks like this: (with the &+l+t stuff showing up on HTML page, but it displaying properly on the page like this:
<embed src="http://www.abc.com/anySoundfile.mp3" width="350" height="40" autostart="false" type="audio/mpeg" loop="false"></embed>
But if I go in and re-edit the page, even if I don't go anywhere near that piece of code it resets it to just the piece of HTML without the &+l+t and I get this:
I tried saving all of it offline as a open doc document, so the page won't revert. Then I would just have to remember to alter the document and then cut and paste it over everything, but it won't let me cut and paste onto the page for security reasons.
So each time I try to add something to the page I have to change the <'s back to &+l+t for each instance, then hope I didn't make any mistakes...
hmm, I didn't try using it at the top of the page... that makes it a little easier. It looks like it leaves non-code alone, so I could maybe only have to redo it for once for whole sections... I'd still have to avoid doing it for sections where the page actually is supposed to actually do something instead of just display HTML... that's at least progress.
Is it normal for a page to undo the &+l+t commands?
---------- Nate Facebook Thread Organizer (A list of all sorts of useful threads)
|
tookatooka
2816 posts
Mar 12, 2012
4:01 PM
|
Have you tried & # 6 0 ; for < and & # 6 2 ; for > ?
Last Edited by on Mar 12, 2012 4:02 PM
|
RyanMortos
1299 posts
Mar 12, 2012
4:19 PM
|
nacoran,
It sounds to me like you are fighting with the software that you are using to edit the code. Assuming this is the macwebsitebuilder software (or something else) I would say it's a bug.
The jargon you use is: Yo guys, I believe I found a bug. I am writing web pages with your software using &+l+t commands to help show people how to make links and such on this site. It works fine when I finalize my changes but when I go back to edit the page the software removes the &+l+t commands causing my HTML code to break. Please let me know if this can be fixed. Thanks, nacoran (harp master extraordinaire)
Well, in your words, lol.
The majority of web developers I know write 100% of the code in notepad++, save it as .html (& .css (for aesthetics) & .js (for functionality) but that's a whole other level of control, lol), and upload it to the webserver. (Some developers I know use visual studio (asp.net) or Java (JSP) development as well but that involves learning more then basic HTML)
But if I recall you don't have the freedom to do that with macwebsitebuilder. So, I'd say no, you don't normally lose &+l+t commands since all of your code exists on the documents that you upload to the server. But sites like macwebsitebuilder, sites.google.com, etc. are designed to make it easy for a non-developers to throw together a website but once you want to start customizing things you begin to realize that they are limited in what they allow you to do.
One suggestion I might make is that you use comments! Do what you said, start the page with the &+l+t command and any time you want to write actual HTML close off with the &+g+t command. Then after your code do it again. Now what you're saying is when you edit it's removing these things and you have to play a guessing game as to where they were. You can create comments in your HTML (assuming the editor won't remove them, lol) to direct you to where those commands should go once you're done editing.
Do this:
< !--Eat At Joes-- >
Or more preferably: < !-- This is where &+l+t goes!-- > etc.
Then you can run a quick search of those comments and add the code in. It really is frustrating that you can't write your code in notepad & then copy & paste it in.
Let me know your thoughts or questions I might have other ideas that could pop out, lol.
----------

~Ryan
Advanced Intermediate: based on Adam's What Level Are You? guide.
"I play the harmonica. The only way I can play is if I get my car going really fast, and stick it out the window." - Steven Wright
Pennsylvania - H.A.R.P. (Harmonica Association 'Round Philly)
See My Profile for contact info, etc.
|
tookatooka
2817 posts
Mar 12, 2012
4:40 PM
|
Yeah! I do all my html and css in notepad. It's the old school method but best. Ignore what I said about & # 6 0 ; I'm sure it will make no difference. ----------
|
RyanMortos
1300 posts
Mar 12, 2012
4:57 PM
|
tooka,
That was a good idea. nacoran can try to experiment with '& # 6 0' and '& # 6 2' in place of the '&+l+t' and '&+g+t'. Without trying we don't know if the editing software is designed to remove that as well.
This is going to be ugly but another option:
If you want this text area you use this code:
< textarea rows="2" cols="65" readonly> < embed src="http://www.abc.com/anySoundfile.mp3" width="350" height="40" autostart="false" type="audio/mpeg" loop="false"> < /embed > < /textarea >
Course, we don't know if the editing software likes textarea tags either, lol.
----------

~Ryan
Advanced Intermediate: based on Adam's What Level Are You? guide.
"I play the harmonica. The only way I can play is if I get my car going really fast, and stick it out the window." - Steven Wright
Pennsylvania - H.A.R.P. (Harmonica Association 'Round Philly)
See My Profile for contact info, etc.
Last Edited by on Mar 12, 2012 5:03 PM
|
nacoran
5372 posts
Mar 12, 2012
7:24 PM
|
Ryan, and everyone, thanks. I updated the support request using more accurate terminology. I also tested textarea solution on a hidden blank page. It does work, so if they don't have a better solution I'll redo it that way.
One time, a few years ago, I was out visiting my father in San Diego. At the time, he was developing a website for a local college. He got me hired by his boss for one to trouble shoot the site, just so I'd have a little spending cash, looking for any errors, broken links, even little things like boxes that weren't quite lined up on the page right. He offered me either $12 an hour or $5 a mistake. Not being much of a risk taker, I took the $12/hour. I made $60 for a partial day's work, but I found 60 errors. I guess I finally found something OCD was useful for! I never did learn how to fix the problems though. This particular one has been bothering for a couple years now. Before I started messing with the how-to page it kept screwing up my posts whenever I edited them.
Thanks for the help,
Nate
PS, have you noticed the Captcha's don't time out as quickly now? :)
---------- Nate Facebook Thread Organizer (A list of all sorts of useful threads)
|
Steamrollin Stan
308 posts
Mar 13, 2012
2:46 AM
|
The whole things got me fucked, if i cant click on and go from there i just don't bother anymore, i have spent way too much time fucking around with settings that just dont make sense to me, i'm here and there and watching and learning how to play a gob iron, too much tech wank crap that really aint helping. Good luck in your quest to figure things out....lol.
|
Post a Message
|