Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-2007, 12:50 AM
pclark2's Avatar   
pclark2 pclark2 is offline
Newbie
 
Join Date: Apr 2007
Location: Urbana, IL
Age: 23
Posts: 1
Rep Power: 0
pclark2 is on a distinguished road
Question Fetching Data from a Form Generated Website

I am working on a project that requires me to access course data from various university websites (just basic class schedule stuff). Most of these sites however have the data on a dynamically created page requiring post data from a form to show the desired information, and in some cases even require a login. I had been working in php to parse the course data from the websites where it is all on a nice static page, but do not know how to get it from these other sites.

My plan currently is to write a program to run on Ubuntu Linux to go out and fetch the data, but I am not sure which language would be best or even how I would do this. I have seen some programs control browsers before in Windows to get data, but I don't know if that is the best way or not or if that is even possible on Linux.

I don't know too much about software programming so I will need to learn a lot for this. So any ideas on what language to use or what functions to call or anything? Thanks for any help that can be given!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-02-2007, 05:43 AM
neerajatcodecall neerajatcodecall is offline
Newbie
 
Join Date: May 2007
Posts: 2
Rep Power: 0
neerajatcodecall is on a distinguished road
Default Hi!

i read ur problem. i m sorry i dnt know how to implement the same. buti have been also looking for the same thing. i want to access a site from which i can fetch the data and store it in my database. i m looking for a java program on windows. if u find pl tell me or mail me at neeraj.sehgal@lntinfotech.com.

thanx in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-09-2007, 10:59 AM
ablaye ablaye is offline
Newbie
 
Join Date: Apr 2006
Posts: 10
Rep Power: 0
ablaye is on a distinguished road
Default

Why don't you use PHP/MySQL?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-10-2007, 01:00 PM
migliris migliris is offline
Banned
 
Join Date: May 2007
Posts: 2
Rep Power: 0
migliris is on a distinguished road
Default

I'm having the same kind of problem: I want to fetch data from web pages that require JavaScript to be enabled on the browser. When my program fetches the URL, the webpage says "This page requires scripting to be enabled", whereas the same URL in my Firefox shows the web page with the prices and everything.

So my question: is there a way to enable scripting for a program (something with InputStream and OutputStream ) (I'm writing in Java by the way). It is likely that there isn't, to avoid denial-of-service hacking, and in this case, is there a way to make Java interact with Firefox so that Firefox fetches the page and retrieves it to the Java program?

This project really means a lot to me, so thanks for any advice (even if I have to change my programming language)

miguel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-10-2007, 01:01 PM
migliris migliris is offline
Banned
 
Join Date: May 2007
Posts: 2
Rep Power: 0
migliris is on a distinguished road
Default

neeraj, you may want to check out this website:
Reading from and Writing to a URLConnection (The Java™ Tutorials > Custom Networking > Working with URLs)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 05-11-2007, 07:24 AM
neerajatcodecall neerajatcodecall is offline
Newbie
 
Join Date: May 2007
Posts: 2
Rep Power: 0
neerajatcodecall is on a distinguished road
Smile

hi migliris!

thanx for the reply. i found the site useful and have done the task.
thanx again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding a change password form InternetGeek Visual Basic Programming 11 02-16-2008 02:53 PM
Java:Tutorial - Data Types John Java Tutorials 6 07-02-2007 10:16 PM
Calling a form from another form Void Managed C++ 1 07-01-2006 10:44 AM


All times are GMT -5. The time now is 01:06 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads