BBC BASIC for Windows
« BB4W Wiki to be deactivated »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:48pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1 2 3  Notify Send Topic Print
 veryhotthread  Author  Topic: BB4W Wiki to be deactivated  (Read 263 times)
Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: BB4W Wiki to be deactivated
« Reply #24 on: Sep 28th, 2014, 4:20pm »

Until another way pokes it's head up, I've found a way of saving the PDF of each page.

Converting routine:
. open Google Chrome (the only browser I've got that saves just the main pane - IE and Firefox saves the whole page.)
. load page to be converted
. right-click on the main pane
. click on 'Print'
. select Destination as 'Save as PDF'
. click 'Save'

This will save the main text to a PDF file.

Note that some of the code windows don't seem to show all the text horizontally; the scroll bar displayed at the bottom doesn't work. Don't panic. If you copy the text by the line, it will copy the entire line not just the visible text.

Incidentally, is there not some copyright issue here, especially when trying to copy the entire website? If there is, have we been given permission due to the circumstances?

Matt
User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #25 on: Sep 28th, 2014, 5:05pm »

on Sep 28th, 2014, 2:04pm, KenDown wrote:
Well, I am hard at work copying and pasting the text of each page into Notepad and saving them. (The HTML is horrible!)

Why does it matter that the HTML is "horrible" so long as it displays correctly in common browsers? I presume (but haven't confirmed) that the exported HTML is identical to what is served when you access the wiki online conventionally; if so it ought surely to be entirely satisfactory as a 'backup'.

Quote:
Once I have done that I will than have all the wiki pages as my personal reference resource.

The same thing seems to be happening here as at the Liberty BASIC forum - people are spending time and effort taking their own copies of the wiki when in my opinion it's entirely unnecessary. Whatever the most appropriate long-term solution turns out to be - whether it's to pay for the existing wiki to remain online or to move it elsewhere - taking a personal copy benefits only that individual so isn't something I would encourage.

Richard.
« Last Edit: Sep 28th, 2014, 5:18pm by rtr2 » User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #26 on: Sep 28th, 2014, 5:17pm »

on Sep 28th, 2014, 4:20pm, Matt wrote:
Until another way pokes it's head up, I've found a way of saving the PDF of each page.

You can't seriously be suggesting that anybody does this for each of the 300+ pages, surely? rolleyes

Quote:
If there is, have we been given permission due to the circumstances?

The BB4W wiki is published under the Creative Commons Attribution Share-Alike 2.5 Licence so you are free to copy and redistribute the material so long as you adhere to the terms. But certainly the 'current circumstances' make not the slightest difference and do not confer any permissions that would not otherwise apply.

Richard.
« Last Edit: Sep 28th, 2014, 5:33pm by rtr2 » User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: BB4W Wiki to be deactivated
« Reply #27 on: Sep 28th, 2014, 7:11pm »

Well, it is quite true that the end results are the important thing, but just the same as I prefer elegant BASIC to a hodgepodge of GOTOs, so I prefer elegant HTML - and what there is at present ain't elegant. It's a horrible mess.

As for benefitting just me, even if that were so, "me" is quite important to me and I *need* the information in the wiki. However I hope it won't be just for me. If I can get it to work and convert into HTML then I hope that the community can get together to find a solution to making it widely available - if nothing else, as a zip file!

The prospect of all that information just disappearing is too awful to contemplate.
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: BB4W Wiki to be deactivated
« Reply #28 on: Sep 28th, 2014, 8:04pm »

on Sep 28th, 2014, 5:17pm, g4bau wrote:
You can't seriously be suggesting that anybody does this for each of the 300+ pages, surely? rolleyes

I'm not suggesting that anybody does it. I'm suggesting that that is what I am doing and that, if anyone wants to follow suit, then that's one way of doing it.

My concern, as with Ken, is that, if you decide to drop the Wiki site and we can provide no reasonable way to copy and use it as a group, then this seems as good a way as any. 300+ pages is a pain in the neck, but it's better than loosing it completely. Once it's done, I might be able to combine it into a single PDF file can be accesed through one of the other websites. Not nearly as good as the site, but still accessible.

Matt
User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #29 on: Sep 28th, 2014, 8:40pm »

on Sep 28th, 2014, 7:11pm, KenDown wrote:
The prospect of all that information just disappearing is too awful to contemplate.

on Sep 28th, 2014, 8:04pm, Matt wrote:
if ... we can provide no reasonable way to copy and use it as a group...

But we already know that the information is not going to disappear and that it will remain available to copy and use. As you are aware, I have put an HTML export in the files area of the Yahoo! group. Should there be a problem with the wiki continuing to be available online, it can be downloaded from there and browsed locally.

I don't understand why anybody would feel the need to spend time and effort regenerating a version of the wiki when this simple option is available.

Quote:
My concern, as with Ken, is that, if you decide to drop the Wiki site

So now I'm to blame rather than Wikispaces. cry

Richard.
« Last Edit: Sep 28th, 2014, 9:41pm by rtr2 » User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: BB4W Wiki to be deactivated
« Reply #30 on: Sep 29th, 2014, 07:04am »

on Sep 28th, 2014, 8:40pm, g4bau wrote:
So now I'm to blame rather than Wikispaces.

My appologies, Richard. My intension was not to blame you, or anyone. A poor choice of words.

Quote:
But we already know that the information is not going to disappear and that it will remain available to copy and use. As you are aware, I have put an HTML export in the files area of the Yahoo! group.

My understanding was that you were investigating the possibility of an HTML version, not that you had done so. If that's the case, then that's fine.

I still have a more personal reason for having a local version, and that is that my internet connection is intermittent, and is occasionally out for some time. Having a local version means that I can view it off line. Although, there are many sites and thousands of pages that I would still not be able to view - so it would be a drop in the ocean.

Again, my appologies for my wording.

Matt
User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #31 on: Sep 29th, 2014, 08:35am »

on Sep 29th, 2014, 07:04am, Matt wrote:
My understanding was that you were investigating the possibility of an HTML version, not that you had done so.

There is nothing to investigate: exporting to HTML is a facility that has always been provided by Wikispaces. This is what I wrote in an earlier message in this thread:

"Therefore of the three export formats supported, only HTML seems to be 'useful'... It can be browsed locally, and it ought to be possible to upload it to a regular website and by that means recreate a searchable 'read only' image of the wiki. Accordingly, I've replaced the wikitext backup in the Yahoo! group's Files area with an up-to-date HTML backup. I would not suggest that you download it at this stage: the existing wiki will be available until at least November 14th."

I can't see how that is open to misunderstanding.

Richard.
« Last Edit: Sep 29th, 2014, 08:36am by rtr2 » User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: BB4W Wiki to be deactivated
« Reply #32 on: Sep 29th, 2014, 12:40pm »

on Sep 29th, 2014, 08:35am, g4bau wrote:
I can't see how that is open to misunderstanding.

Perhaps not, but misunderstand it, I did. It is now clear. (Unless I've missunderstood the missunderstanding. grin )

Matt
User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: BB4W Wiki to be deactivated
« Reply #33 on: Sep 29th, 2014, 7:23pm »

Hmmm. I shared Matt's misunderstanding. I am relieved to know that the information on the wiki will not completely disappear, but I did not apprehend that assurance until these recent exchanges.

Ken Down
User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #34 on: Sep 29th, 2014, 9:22pm »

on Sep 29th, 2014, 7:23pm, KenDown wrote:
Hmmm. I shared Matt's misunderstanding.

Do I conclude that my mental deterioration has reached a stage when I can no longer write understandable English?

Richard.
User IP Logged

DDRM
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 321
xx Re: BB4W Wiki to be deactivated
« Reply #35 on: Sep 30th, 2014, 09:30am »

Hi Richard,

Well, I thought it was clear!

cheesy

D
User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: BB4W Wiki to be deactivated
« Reply #36 on: Sep 30th, 2014, 6:33pm »

Not sure whether it was your failure to write clear English or the blind panic at thought of losing all that treasure the precluded our understanding!

Kendall Down
User IP Logged

JGHarston
Junior Member
ImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 52
xx Re: BB4W Wiki to be deactivated
« Reply #37 on: Oct 7th, 2014, 10:36pm »

on Sep 20th, 2014, 2:02pm, g4bau wrote:
I have no idea. Wikitext isn't standardised, so even if there were some means to 'bulk import' the content to another host (371 pages at the last count, plus numerous images) there would no doubt be a lot of editing to do.
Richard.

It's sufficiently regular to be programatically converted. I've just spent a few minutes and converted a WikiSpaces page to a Wikia page using this code:

in% =OPENIN("H:\wikispaces.txt")
out%=OPENOUT("H:\wikia.txt")
raw%=FALSE
code%=FALSE
REPEAT
A$=GET$#in%
keep%=TRUE : PROCconvert
IF keep%:BPUT#out%,A$
UNTILEOF#in%
CLOSE#out%
CLOSE#in%
QUIT
:
REM //words// -> italics -> ''words''
REM **words** -> bold -> '''words'''
REM [[code format="xxx"]] ... [ [code]] -> indented text
DEFPROCconvert
IF raw%:ENDPROC
IF INSTR(A$,"[[code"):code%=NOT code%:A$="":keep%=FALSE:ENDPROC
IF code%:A$=" "+FNs(A$):ENDPROC
IF LEFT$(A$,2)="> ":A$=": "+MID$(A$,3)
PROCswap("//","''")
PROCswap("**","'''")
ENDPROC
:
DEFPROCswap(M$,R$)
REPEAT
A%=INSTR(A$,M$):IF A%:A$=LEFT$(A$,A%-1)+R$+MID$(A$,A%+LENM$)
UNTILA%=0
ENDPROC
:
DEFFNs(A$):IFLEFT$(A$,1)=" ":REPEATA$=MID$(A$,2):UNTILLEFT$(A$,1)<>" "
IFRIGHT$(A$,1)=" ":REPEATA$=LEFT$(A$,LENA$-1):UNTILRIGHT$(A$,1)<>" "
=A$


Edit: Wikia has a bulk upload facility, it requires the pages wrapped in XML which is programatically solvable, and I've recently had to so so when my website hosting service vanished. The main remaining issue is the BBC BASIC syntax colouring. I haven't investigated that yet.
« Last Edit: Oct 7th, 2014, 10:42pm by JGHarston » User IP Logged

rtr2
Guest
xx Re: BB4W Wiki to be deactivated
« Reply #38 on: Oct 8th, 2014, 12:55pm »

on Oct 7th, 2014, 10:36pm, JGHarston wrote:
It's sufficiently regular to be programatically converted.

Your program doesn't convert images or tables, which are used in a few BB4W wiki articles. The image syntax is easily adapted, I think, but the table syntax is less straightforward!

Richard.
User IP Logged

Pages: 1 2 3  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls