Jump to content

Need direction. Which codes do I need to know to make this program?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
pstolemy

pstolemy

    Newbie

  • Members
  • Pip
  • 3 posts
I want to make a program which does these things:

-Scans a website constantly/every 5 minute/15 minutes/set interval

-When detecting a certain change in the website, sends an email (say it scans "NBC's" Twitter and whenever NBC has the word "oil" in a tweet, an email is sent with a message. Twitter or NBC is not exactly what I want the program to do, but it's along the same lines)

-When detecting this certain change (like, when NBC tweets the word "oil"), the program creates a response (say, it logs into twitter, navigates the different links to form a set response. Like, it logs into my account and makes a tweet saying, "NBC just said oil!!")


Which programming languages would be required for this program and where should I start?

I appreciate it, thank you.

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
You can do this in almost any languages (of not all), go with the one that you know the most.

You will need to load the html of the page, than save it to compare with the next "scan"
If this page is different from the previous one that you had saved, you validate if the new section contain your special words
You can do this with regular expression, or a lot of if to strip all html code, and get only the text
Than you send the email.

#3
pstolemy

pstolemy

    Newbie

  • Members
  • Pip
  • 3 posts
Well, the thing is, I have not a single clue how to program. I want to teach myself how to make this program. The only language I know is basic, BASIC HTML.

Any other tips? I didn't really understand your response.

#4
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Sadly you will need more than html.
If you don't know any language, I will suggest to start with c# or java. Thoses languages have class that could help you to load the html content of a page.
But if this is your first program I suggest to start with a easier project, this one can be a little bit tricky.

#5
pstolemy

pstolemy

    Newbie

  • Members
  • Pip
  • 3 posts
Thank you




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users