BBC BASIC for Windows
« BB4W Wiki to be deactivated »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:39pm



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 ... 1 2 3  Notify Send Topic Print
 veryhotthread  Author  Topic: BB4W Wiki to be deactivated  (Read 294 times)
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

CharlesB
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 46
xx Re: BB4W Wiki to be deactivated
« Reply #39 on: Mar 6th, 2015, 10:49pm »

If you would give me the information on how to do it, I would like to cover this year's cost for the Wiki. I have looked it a few times and don't understand much at all, but I can see that it is too valuable to lose for the cost of one nice dinner.
User IP Logged

afarlie
New Member
Image


member is offline

Avatar




PM


Posts: 18
xx Re: BB4W Wiki to be deactivated
« Reply #40 on: Sep 8th, 2015, 8:56pm »

on Oct 8th, 2014, 12:55pm, rtr2 wrote:
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.


I've worked somewhat extensively with mediawiki tables, so converting raw HTML tables to Mediawiki wouldn't be too hard.

User IP Logged

Pages: 1 ... 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