Main Menu
  • Welcome to The RPG Maker Resource Kit.

Coding/Storying question... I guess.

Started by bluntsword, December 04, 2015, 10:33:50 PM

0 Members and 1 Guest are viewing this topic.

bluntsword

What kind of effort would it take to code a program to grab text from a website (specifically this one) and put it into a mostly ordered but somewhat random progression?

For instance:
Have the program grab the first paragraph under theme here, and then two character's names from here.

I know "Well just copy and paste it" is a good solution but SURELY there's got to be a way to code something that could just grab peices of that website and throw it into a text document.

The result would look like a story, or at least an outline of one.

Am I making sense?

Acolyte

I don't think coding the program itself would be that hard, but I think the information would need to be organized into some sort of database first.

bluntsword

Hmm.

So hit "random" on those things a ton, catalog them, then write program?

I assume there would need to be a fair bit of "this goes here" and "insert this over there."

So technical.

Acolyte


bluntsword

This.

I need help thinking about how to edit something like this to do what I'm looking for.

http://pastebin.com/vktYxMw6

This comes from this NaNoGenMo post: https://github.com/dariusk/NaNoGenMo-2015/issues/168