Coding/Storying question... I guess.

0 Members and 1 Guest are viewing this topic.

*
RMRK's dad-in-training
Rep:
Level 71
Busy Husband, Dad, and Youth Minister
GIAW 14: 2nd Place (Easy Mode)2014 Best WriterBronze - GIAW 11 (Normal)Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.2012 Best NewbieContestant - GIAW 9
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?

*
A-pow 2015
Rep:
Level 80
2014 Best RPG Maker User - GraphicsFor frequently finding and reporting spam and spam bots2013 Most Unsung MemberSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.a^2 + b^2 = c^2How can I help you? :DSecret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 9Bronze - GIAW HalloweenGold - Game In A Week VII
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.

*
RMRK's dad-in-training
Rep:
Level 71
Busy Husband, Dad, and Youth Minister
GIAW 14: 2nd Place (Easy Mode)2014 Best WriterBronze - GIAW 11 (Normal)Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.2012 Best NewbieContestant - GIAW 9
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.

*
A-pow 2015
Rep:
Level 80
2014 Best RPG Maker User - GraphicsFor frequently finding and reporting spam and spam bots2013 Most Unsung MemberSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.a^2 + b^2 = c^2How can I help you? :DSecret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 9Bronze - GIAW HalloweenGold - Game In A Week VII
Yeah pretty much.

*
RMRK's dad-in-training
Rep:
Level 71
Busy Husband, Dad, and Youth Minister
GIAW 14: 2nd Place (Easy Mode)2014 Best WriterBronze - GIAW 11 (Normal)Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.2012 Best NewbieContestant - GIAW 9
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