AuthorAl
Lost but trying
Profile
Posts: 23
Reg: Dec 31, 2013
Glasgow
3,780
02/26/14 04:59 AM (10 years ago)

Query re html docs

Hi, Is it better to upload html docs to BT and reference them, or to create custom html/text screens and reference them instead? I feel that having actual uploaded html docs that I create elsewhere might be better - but is it sensible? Slowly treading through the mud to the drier ground... cheers Al
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/26/14 05:58 AM (10 years ago)
I always make my HTML files in dreaweaver, ref them and drag into my project. They are such lightweight files the amount I use don't really bloat the project files. I usually have a few hosted and reference them so I can update screens on the fly.
 
AuthorAl
Lost but trying
Profile
Posts: 23
Reg: Dec 31, 2013
Glasgow
3,780
like
02/26/14 06:08 AM (10 years ago)
Thanks for that info, MacApple. Bet you're getting sunnier weather today than I am ;) Al
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/26/14 06:19 AM (10 years ago)
Ha! 8am and minus 7c. I wish we had sun. Coldest winter in the 10 yrs I've been here my good man. Donned my cheeky little Benfica scarf this morning.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/26/14 06:57 AM (10 years ago)
Personally, I don't love the on-line editor and it can be funny with more complex html. But it is quick and easy compared to uploading html files. The best solution for you will end up being one of preference rather than technical. Oddly enough, the files that you create in custom html/text screens end up as html on the internet that your app links to. You can actually reference them as URL's on the internet from a browser - I believe you can find the link in the json for the file. The other thing to consider is that there is option to copy your html files into the BT_Docs folder of your project - that's worth thinking about if you want your pages to be available off-line.
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
02/26/14 07:04 AM (10 years ago)
Yip. I always do the docs folder except for a couple of 'live' pages.
 
AuthorAl
Lost but trying
Profile
Posts: 23
Reg: Dec 31, 2013
Glasgow
3,780
like
02/26/14 12:16 PM (10 years ago)
Thanks - as always, much to think about. Appreciate your time and advice... Al
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
02/26/14 01:21 PM (10 years ago)
Always drag them in to the project unless there are php files involved then I upload it to a server and use custom url.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
02/27/14 01:59 AM (10 years ago)
I am staying away from the on-line editor plugin, it only caused me grief. Dragging the files is the best way to keep a good control of things. Good luck! Farcat
 
AuthorAl
Lost but trying
Profile
Posts: 23
Reg: Dec 31, 2013
Glasgow
3,780
like
02/27/14 11:40 AM (10 years ago)
Great - I am just starting out with very basic coding and see that my current html page (that I want to use as a template and repeat many times in my app) is full of spans ... Reminds me of Monty Python's Spam Spam Spam Spam... I gather that a good way to proceed would be to use CSS and have a style sheet in the uploaded Docs folder. I have no idea how that should look, though I am aware of them a bit through making kindle epubs with Sigil. Are there any CSS examples of basic stylesheets for single page/screen html docs? Have googled the BT site and got html doc samples but some are a few years out of date... TBH I nearly gave up yesterday with BT. Ups and Downs and all that. More positive today. Al
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/27/14 01:37 PM (10 years ago)
There is a nice, simple free html editor you can use that you might find useful for generating your html files offline. Google for Kompozer or download from www.kompozer.net
 
AuthorAl
Lost but trying
Profile
Posts: 23
Reg: Dec 31, 2013
Glasgow
3,780
like
02/27/14 02:14 PM (10 years ago)
Thanks AlanMac - not come across it. Will have a look :)
 

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.