Discussion Forums  >  Uncategorized

Replies: 9    Views: 159

PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
12/12/11 05:33 AM (14 years ago)

Editor contantly destroys code

Hi, Can anyone help by telling me why the editor is constantly destroying my code? My code now looks like this (and was working good): <html> <head> <title>test</title> </head> <body> <p> <iframe allowfullscreen=\"frameborder=0\" height=\"225\" mozallowfullscreen=\"src=http://player.vimeo.com/video/32612190?title=0&byline=0&portrait=0&color=ffffff\" webkitallowfullscreen=\"width=400\"></iframe></p> <p> <a href=\>Google.nl</a></p> <p> <img alt=\"YouTube\" height=\"176\" src=\ title=\"YouTube\" width=\"250\" /></p> </body> </html> Thanks in advance, Danny
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/12/11 09:35 AM (14 years ago)
Hi Danny, Are you using the Custom HTML screen for this, and it's associated editor, or is this a generic HTML page? When you add your code to the editor, are you doing it in Source mode or the other mode? Mark
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/12/11 10:39 AM (14 years ago)
Hi Mark, I'm using the Custom HTML and it's associated editor. I have the editor in source mode. When I save, go somewehere else and get back to the code it's destroyed. You've seen this before?? Thanks for trying to help, Danny
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/12/11 10:52 AM (14 years ago)
Hi Danny, No, can't say that I've seen that issue before at all. Is this at buzztouch.com, or using the new BT Server that you self-host? Also...are you tied to using a Custom HTML screen, or could you provide your own HTML document? I've not liked the Custom HTML screen very much, and prefer to just ship an HTML doc with my app, or provide a link to one hosted remotely. Mark
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/12/11 11:16 AM (14 years ago)
Hi Mark, It's on the self hosted BT-server. I'm not really attached to the Custom-HTML and can use a html document on my hosting account. But what if I give someone else access to an app who's not a very tech guy than I would have to give him ftp-access as well to manage his pages. Got what I mean? Anyway: when I put this code into the editor (it's without quotationmarks): <html> <head> <title>test</title> </head> <body> <p> <iframe allowfullscreen=frameborder=0 height=225 mozallowfullscreen=src=http://player.vimeo.com/video/32612190?title=0&byline=0&portrait=0&color=ffffff webkitallowfullscreen=width=400></iframe></p> <p> <a href=>Google.nl</a></p> <p> <img alt=YouTube height=176 src= title=YouTube width=250 /></p> </body> </html> It gives me an output with the quotationmarks everywhere on the right places. At this point I can see the good result in the simulator. When I do a save again, this is what the output gives: <html> <head> <title>test</title> </head> <body> <p> <iframe allowfullscreen=\"frameborder=0\" height=\"225\" mozallowfullscreen=\"src=http://player.vimeo.com/video/32612190?title=0&byline=0&portrait=0&color=ffffff\" webkitallowfullscreen=\"width=400\"></iframe></p> <p> <a href=\>Google.nl</a></p> <p> <img alt=\"YouTube\" height=\"176\" src=\ title=\"YouTube\" width=\"250\" /></p> </body> </html> Ofcourse all in sourcemode Best regards, Danny
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/12/11 11:33 AM (14 years ago)
Hi Danny, OK...given that this is happening on the self-hosted server, it looks like a bug to me, and I'll have to assume that David and the guys are looking at it. I use Custom HTML in one of my apps at buzztouch.com, and do not experience the same issue. You could always have people put their HTML files in the public folder of a DropBox account. That way they have access to updating them if necessary. Mark
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/12/11 11:39 AM (14 years ago)
Hi Mark, The dropbox is a good idea but would like/love to see that the custom html-option would work as supposed. Thanks for your help anyway Best Regards, Danny
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/12/11 12:03 PM (14 years ago)
Hi Danny, Agreed...important to get it fixed. The only other thing I can suggest is make sure you are running the latest version of the BT Server code, as well as the related plugin. And, keep in mind that this is beta code...there are always potential issues with that, and it should never be relied on for production use! Mark
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/12/11 12:06 PM (14 years ago)
Hi Mark, Yep work with latest versions of both but point taken. So far so good. Best Regards, Danny
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/12/11 03:07 PM (14 years ago)
Hi, I found out what caused it but still have no solution. I Started a new thread in the hope someone comes up with the right answer. http://www.buzztouch.com/forum/thread.php?tid=EF114BF7690FACB5BBB33BE&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 Best Regards, Danny
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.