processingReference update

So for my final project I decided to go along with my original idea to take the references from the processing.org page and to tweet them to my twitter account. The twitter bot works completely and i have fixed the text file with all the references and all of the urls associated with it. Every reference on that processing 2 page will eventually be tweeted to the twitter account. I chose to tweet Processing references due to the fact that Processing will always be my favorite language. Also i know when i was learning it that  the processing page was my homepage to all of my computers. So everything is working the way i want it to be working. I had a few problems figuring out how to implementing the url into my JavaScript i could of coded it in a few ways but the easiest way was to put all the references in a text file and have it randomly choose a word. Screen Shot 2015-05-07 at 3.13.36 PM

the function Sentences(text){

is where i concentrated the most on. The perfect way to tweet the post in the order i wanted first the word and then the url. below is a screen shot of order how it posts on twitter.

Screen Shot 2015-05-07 at 3.15.56 PM

to do this i have the text file with hundred and hundred of references. And to out put the correct form i wanted i split each string with -# at the end.

So the program if you look above line 54 listSentences= text.split(‘-#”); is the line that does all of this correctly.Screen Shot 2015-05-07 at 3.16.11 PM

But i am experiencing problems putting it up on the server where it can run automatically and update on it own randomly every six to 12 hours as the code is implemented. Screen Shot 2015-05-07 at 3.26.07 PM

I downloaded all of the applications and most of the toolbelts github and heroku and when i went into the command line it didnt allow me to due to the fact that it wasnt able to install the certain toolbelt i needed

Screen Shot 2015-05-03 at 1.37.09 PM

this is what popped up when i did it  i this this a few times but i guess it was acting weird and just did not like me at that moment. I did it again a few days later and i got it to work !!!!!!!!! woohooo i got it up and running on the heroku Server.

 

33 Comments

  • Wow, amazing weblog layout! How lengthy have you been blogging for?

    you make blogging glance easy. The total look of your website
    is fantastic, let alone the content material!

  • Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your site?
    My blog site is in the exact same area of interest as yours and my
    users would definitely benefit from a lot of the information you present here.
    Please let me know if this ok with you. Many thanks!

  • I do not even know how I ended up here, but I thought this post was great.
    I do not know who you are but certainly you’re going to a famous blogger if you aren’t already ;
    ) Cheers!

  • It’s in fact very complicated in this busy life to listen news on TV, therefore I just use world wide web for that purpose, and obtain the latest news.

  • Heya i’m for the primary time here. I came across
    this board and I to find It really useful & it helped me out a lot.
    I’m hoping to provide something again and help others like you aided me.

  • Spot on with this write-up, I honestly believe that this amazing site needs a
    lot more attention. I’ll probably be returning
    to read through more, thanks for the information!

  • Quality content is the secret to be a focus for the viewers to
    go to see the site, that’s what this site is providing.

  • Appreciate the recommendation. Let me try it out.

  • Howdy! This post couldn’t be written any better! Reading through this post reminds me of my old room
    mate! He always kept talking about this.

    I will forward this page to him. Fairly certain he
    will have a good read. Thanks for sharing!

  • Hello, after reading this amazing post i am also cheerful to share my know-how here with friends.

  • Hello there! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good results.
    If you know of any please share. Appreciate
    it!

  • Outstanding post however , I was wondering if you could write a litte more on this subject?
    I’d be very thankful if you could elaborate a little bit further.
    Bless you!

  • Can you tell us more about this? I’d like to find out more details.

  • Very good post! We are linking to this great post on our website.
    Keep up the good writing.

  • Link exchange is nothing else but it is simply placing the other person’s blog link on your page at appropriate place and other person will also do same in support of you.

  • Your method of telling all in this piece of writing is truly nice, every one be able to effortlessly know it, Thanks a lot.

  • It’s an awesome piece of writing in favor of all the online people; they will obtain advantage
    from it I am sure.

  • I think this is one of the most significant info
    for me. And i’m glad reading your article.
    But wanna remark on few general things, The web site style is ideal,
    the articles is really great : D. Good job, cheers

  • I am extremely impressed with your writing skills as well as with the layout on your blog.

    Is this a paid theme or did you customize it yourself?
    Either way keep up the excellent quality writing, it is rare to see a
    great blog like this one these days.

  • Wow that was strange. I just wrote an extremely long comment but after I clicked submit my
    comment didn’t show up. Grrrr… well I’m not writing
    all that over again. Regardless, just wanted to say superb
    blog! quest bars 3te5r1upyli0w

  • I don’t know whether it’s just me or if perhaps everyone else encountering
    problems with your site. It looks like some of
    the written text within your posts are running off the screen. Can somebody
    else please provide feedback and let me know if this is happening to them as well?
    This could be a problem with my internet browser because I’ve had this happen previously.
    Kudos mujeres hermosas Cosarmelindo

  • What’s up, after reading this awesome piece of
    writing i am too happy to share my experience here with colleagues.

  • Hi to all, how is everything, I think every one is getting more from this web page,
    and your views are pleasant for new visitors.

  • Hello, after reading this amazing paragraph i am too glad
    to share my know-how here with friends.

  • Yes! Finally someone writes about quest bars.

  • Hurrah! After all I got a web site from where I be
    able to genuinely take valuable data concerning my study and knowledge.

  • Thanks for sharing your thoughts about quest bars cheap. Regards

  • Hi there would you mind stating which blog platform you’re using?

    I’m going to start my own blog soon but I’m having a
    tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique.

    P.S Apologies for getting off-topic but I had to ask!

  • Thanks to my father who shared with me on the topic of this
    webpage, this blog is truly awesome.

  • I was wondering if you ever thought of changing the structure of your website?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only having 1 or two images.
    Maybe you could space it out better?

  • If you want to get a good deal from this paragraph then you
    have to apply these methods to your won weblog.

  • This is the perfect site for anyone who wishes to understand this topic.
    You realize so much its almost hard to argue with you (not that I actually would want to…HaHa).
    You certainly put a brand new spin on a subject that has been discussed for years.
    Excellent stuff, just great!

  • Superb post but I was wanting to know if you could write a litte
    more on this topic? I’d be very grateful if you could elaborate a little bit more.

    Bless you!