Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2010, 09:00 AM   #1
LQ Newbie
Registered: Jul 2010
Location: Italy
Distribution: RH 5.3
Posts: 3

Rep: Reputation: 0
Dynamic web page

Hi guys,
does someone knows how to get "dynamic data" from a web page?
For example i'd like to build something that on a regular basis connect to a low cost flight company and get the prices for a specific flight
what i don't know it's actually how to instruct my program to make it to do it sincd this data are not static but comes as a result of something launched on the server (like a cgi).
How could i emulate this.
Of course i don't pretend u to provide me the code, only need some clues on how to approach the problem.

Old 07-07-2010, 09:06 AM   #2
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
I think you can "wget" on the CGI address to get the result as an HTML page, then parse it with grep / awk to get relevant infos.
Old 07-07-2010, 02:22 PM   #3
Registered: Nov 2008
Posts: 50

Rep: Reputation: 15
Has the site in question got a RSS feed?

The page data when you receive it is static, it's really only dynamically generated... I'd too use grep...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
executing linux commands from web page and outputing it back to the web page ashes_sheldon Programming 9 02-28-2015 01:07 AM
Dynamic web page app madivad Programming 4 03-17-2008 12:21 PM
web page database access per page or per session? b0uncer Programming 6 01-13-2007 01:09 PM
Mandrake 9.2, hosting web page behind router on dynamic ip c_mitulescu Linux - Networking 5 01-05-2004 07:59 PM
Mandrake 9.2, hosting web page behind router on dynamic ip c_mitulescu Linux - Security 1 01-05-2004 12:38 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration