This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
[WIP]Basic HTML Reader
Started by Noodle, 25 September 2012 - 02:00 AMPosted 25 September 2012 - 04:00 AM
Posted 25 September 2012 - 03:15 PM
Wow, looks great! Could you eventually make it read posts from this forum? That would be awesome, to browse the forums in CC.
Also a function that saves a
Also a function that saves a
block into a file would be handy :P/>/>
Posted 25 September 2012 - 09:41 PM
I have it designed to take out everything from a html doc then only print h1, title, and paragraphs!
Posted 25 September 2012 - 11:23 PM
EDIT: This might only be able to read from BASIC websites from the web.. I can't seem to get rid of all the code on these sites. Another thing: These sites use javascript and php to retrieve stuff from a database to have posts -.-
Posted 25 September 2012 - 11:26 PM
So….if someone wrote a file in HTML, and then put it in a folder for ComputerCraft, this program would be able to interpret that ad turn it into a useable ComputerCraft "site"?
Posted 26 September 2012 - 01:10 AM
Yes.So….if someone wrote a file in HTML, and then put it in a folder for ComputerCraft, this program would be able to interpret that ad turn it into a useable ComputerCraft "site"?
Posted 27 September 2012 - 12:21 PM
This looks awesome. I am a desent html programer and i think i will check this out.
Posted 27 September 2012 - 12:48 PM
This looks awesome. I am a desent html programer and i think i will check this out.
If you were a decent anything you would know you don't program html
Posted 27 September 2012 - 03:07 PM
Hmm Noodle, Imma expand this a bit k
Posted 27 September 2012 - 09:46 PM
You should try working with: http://www.computercraft.info/forums2/index.php?/topic/4261-firebox-web-browser/ . It'd make for quite an interesting experience :P/>/>.
Posted 27 September 2012 - 09:56 PM
As you would see, he copies them into computers.You should try working with: http://www.computerc...ox-web-browser/ . It'd make for quite an interesting experience :P/>/>.
I don't copy, I receive the code from the website, and draw what it says in tags like the paragraphs.
Posted 28 September 2012 - 02:51 AM
As you would see, he copies them into computers.You should try working with: http://www.computerc...ox-web-browser/ . It'd make for quite an interesting experience :P/>/>.
I don't copy, I receive the code from the website, and draw what it says in tags like the paragraphs.
Plus my programs downloads a lua script and then runs it. Not sure where html interpreting could even fit in that process.
Posted 28 September 2012 - 03:22 AM
Any website for mine.. Yours has the select few.As you would see, he copies them into computers.You should try working with: http://www.computerc...ox-web-browser/ . It'd make for quite an interesting experience :P/>/>.
I don't copy, I receive the code from the website, and draw what it says in tags like the paragraphs.
Plus my programs downloads a lua script and then runs it. Not sure where html interpreting could even fit in that process.