LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-07-2015, 10:20 PM   #1
johngovols
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
Talking embedding a web resource


Hello. Pardon my ignorance, but is it possible to embed the "college navigator" search object on the left side of this page: http://nces.ed.gov/collegenavigator/ ? I can get some of it to look right when pasting source code into a webpage, but the input fields don't work, and the "show results" button doesn't show up. It seems there's a slick way, through code, of making those function. I'm changing some of the URLs to the full site URLs, thinking it might make it work right. Something must be done with the button. Or am I way off base thinking it is possible? I could link it, but embedding the resource would be slick.
 
Old 02-08-2015, 03:06 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
You can copy the html source of the web form, change the action attribute in the form-tag to your own script written in something like php, ruby , perl. From this script you make a curl call with the given parameters to the original form action. This way you might get the response you want from College Navigator. Please ask your lawyer whether this is legally ok. Or even better ask "http://nces.ed.gov" whether you are alowed to act this way. If they do not like the idea you have to drop it.

Cheers
j
 
1 members found this post helpful.
Old 02-08-2015, 10:41 AM   #3
johngovols
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Talking

I so greatly appreciate your response. Although I don't yet know how to go about the described actions, I'm looking forward to chasing them down, and being pointed in the right direction is so helpful. I'm ultimately going to put them in a html5 generator, and should have mentioned it. The US gov't is usually very open about making resources embeddable, and seem pretty open here*. I asked them for an embed code a couple months ago, and have received no response. You are right about assessing the legality of it all. Copyright is no issue, but maybe squatting on their server is. Thanks again.

*REPLICATION: Unless specifically stated otherwise, all information on the U.S. Department of Education's NCES website at http://nces.ed.gov is in the public domain, and may be reproduced, published or otherwise used without NCES' permission. This statement does not pertain to information at websites other than http://nces.ed.gov, whether funded by or linked to, from NCES or not.

Please use the following citation when referencing NCES products and publications:
National Center for Education Statistics, U.S. Department of Education.

Last edited by johngovols; 02-08-2015 at 10:51 AM.
 
  


Reply



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
[SOLVED] wget to access web resource but not download it veeruk101 Linux - Newbie 2 07-17-2011 04:51 AM
suggest a resource.....Python with Web Development In Mind ? (tutorial/book/etc) Ubunoob001 Programming 2 12-18-2010 08:36 AM
Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5. anon232 Linux - Software 4 07-08-2010 02:55 PM
embedding a command for at? Xstack Linux - General 2 02-21-2005 03:42 PM
embedding applications using qt ankitgdit Programming 1 10-26-2003 10:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:21 PM.

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