vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   interogate external website (https://vborg.vbsupport.ru/showthread.php?t=140618)

8utt 02-27-2007 05:02 PM

interogate external website
 
hello

I've set a reminder up on my pc so that at 5pm it pops up a vbulletin webpage with the images from the local traffic cameras in our area so I can look at the traffic.

I also use the AA traffic website (http://www.theaa.com/travelwatch/travel_news.jsp) to see if there are any bad areas.

What I would love to have the traffic info and the pictures on one page so I dont have to click about.

What I'm basically after is, is there a way of writing a script, javascript or whatever which will goto the aa website above, click on liverpool and return me the picture and the road text above it to allow me to show it on my custom page ? that way I have the camera pictures and the road map / text all on one page.

If not is there a way of imbedding a Iframe or something that will give me the same thing ?

8utt 02-28-2007 05:51 PM

sussed it anyhow

extracted the form info off the website, copied it onto a blank webpage, then put a onload submit form bit of javascript.

put this inside an iframe with another bit of code to move the scroll bars into the correct position so the bit of the screen I wanted was in the top left hand corner.



The embedded this into another iframe cropping off all the crap I didn't want to be shown.

with a noborder tag and no scrollbars it looks like its part of my site

nice


All times are GMT. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00998 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete