New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Script for Getting info from source HTML-I need a place to start!


Post Reply New Thread Subscribe

 
Thread Tools
Daveed90

 
Member Since: Jun 30, 2011
Posts: 5
Daveed90 is on a distinguished road

Daveed90 is offline
Hey guys,

So, I'm pretty basic with my AppleScript skills, but I'm wondering if some guys could point me towards some of the answers ill need to start this process...

I have some info that I need to regularly grab from a webpage. That pages source code doesn't change, just some values in it.

I need to translate these numbers into iCal or an ICS file, how would I do this???

AppleScript? HTML5? Java?

Idk...
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,352
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
You can do it in just about any language except for perhaps AppleScript (AS is really meant for working with the OS and installed applications). Do you have any experience with any language? If you do, look for "screen scraping" techniques for that particular language.

What's the URL of the page you're trying to scrape and what are you trying to get from it?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Daveed90

 
Member Since: Jun 30, 2011
Posts: 5
Daveed90 is on a distinguished road

Daveed90 is offline
well, the URL is only accessible by me and my co-wokers. Its a secure website where we can view our work schedule. They post 3 weeks of schedule, and have no way to export it. It ends up with me spending an hour or so inputing my schedule into iCal. PAINFUL.

I'm just trying to see if there is a way to extrapolate that code into a .ics file.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,352
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
That's going to be a problem. The issue here is simple - the page requires authentication which, unless set up this way by the administrator, will be near impossible (at least in a simple way) from a script. Even if it is possible, it won't be easy and will surely require you to script in a language other than Applescript.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks

Post Reply New Thread Subscribe


« web browser video streaming plugin for Iphones | Looking for Page Flip for Mac with Search »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Any info on the time pre-orders will start? yzfmik iPhone Hardware and Accessories 3 10-06-2011 10:21 PM
help me convert something, please. krrose27 Switcher Hangout 4 05-25-2007 03:10 AM
Script to mount server at start up? CS44 Web Design and Hosting 0 07-09-2004 02:29 PM

All times are GMT -4. The time now is 07:03 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?