Getting around URL aliasing or forwarding in Automator?

Hi,
I am new to automator but have a simple task that seems not straightforward to implement. I have a page on Google Sites (unfortunately not open to the public) and I upload and download ruby code to it. I'd like to automate downloading all the files that are have certain file extension and are linked from the main page. Those urls, when I copy them as links from the Safari browser, have a format like;
http://sites.google.com/a/some_school.edu/my-cool-proj/Home/builder.c?attredirec ts=0
My workflow is four safari actions;
Get Specified URLs (the url is the top page of the google site for the project)
Get Link URLs from Webpages
Filter URLs
Download URLs
What I notice when I download those files manually from the Google Site page, using Safari, is that there is a second url that the link I started downloading gets forwarded to, apparently, and I can't seem to capture that manually to see what it is (it flashes across the browser's address bar and then dissappears pretty quickly.)
Is there some simple way to follow these forwarded URLs, that is relatively foolproof, and that could be automated? I could take it on faith that the implementation of those forwarded links is not going to change, though that seems iffy. I could use or build some other site to post and pull code from, but that seems risky, and honestly the Automator script wouldn't save me more time than I would lose in such an effort.
Any suggestions would be appreciated -
C

Hello Prashanth,
It may not be as simple as adding an http header through the Oracle HTTP Server (OHS) in the stack. The web page is returned by both the Parallel Page Engine in OC4J_Portal and the Web Cache, not by the OHS. Since OHS doesn't play a role in the response, it is not possible to tag the headers.
You could consider to install a reverse proxy server (e.g. Apache 2) in front of your web cache and add the header tag in this configuration. That should work.
Thanks,
EJ

Similar Messages

  • Automator Stops Responding while trying to perform "Get Image URLs from Webpage"

    I have seen it in many tutorials, and it seems strait forward enough, so here is my order of events for my scriptl;
    Get Current Webpage from Safari
    Get Image URLs from Webpage [linked from these webpages]
    Download URLs [Downloads]
    However when I run this script it returns the get current webpage quickly but then hangs on Get Image URLs from webpage either never passes or takes 700+ seconds to move to the next step.
    The times it did pass to the next step it worked 98% still missed images occasionaly.
    After I figure out how to fix this issue, I am looking for a way to make it create a new folder, and name it according to the sub directory of the webpage, for example:
    http:\\www.mypictures.com\Birthday\01.JPG
    http:\\www.mypictures.com\Birthday\02.JPG
    would create folder Birthday, and save images 1 and 2
    Then in the future I want to download another set such as;
    http:\\www.mypictures.com\MothersDay\01.JPG
    http:\\www.mypictures.com\MothersDay\02.JPG
    As these are both named 01.JPG the sets would overwrite, or add strange numbers and not divide by set by default;
    So I need this script to create folders based on Directory (portion of url)  In my example it would be MothersDay, and Birthday folders.
    Any help would be greatly appreciated!
    Thanks in advance!
                    Mike

    I should add, it has simply frozen and stopped responding about 95% of the 20 times or so I have run it. I have tried rebooting (not sure if that helps on Mac, I'm still new to the OS been a windows user for a long time but so far I love my Mac).

  • HT204093 I am following the instructions to hyperlink URL to an image in an email, but once I paste the URL, the "ok" button is not highlighted so I cannot complete the task. What is the problem and how do I get around it?

    I am following the instructions to hyperlink URL to an image in an email, but once I paste the URL, the "ok" button is not highlighted so I cannot complete the task. What is the problem and how do I get around it?

    I figured out if I took the http:// off the front of the URL, the "ok" button would highlight, but then link did not work. I tried just linking www.google.com to the image and the link did not work either. What gives?!

  • How do I get a URL to embed with FormsCentral add-on to Acrobat XI Pro?

    I have been going around in circles for the last few HOURS trying to find out why my FormsCentral (signed up and signed in, free account) does not give me the options shown in all of the help areas...
    When I open my uploaded form (I made a fillable PDF form using Acrobat XI Pro), the drop down menus from the top are Imported Form, Options, Distribute, View Responses and Summary Report...  there is no option to Test and no option in the Distribute area to get the URL to embed...
    It says pretty much everywhere that a PDF made in Acrobat can be imported to FormsCentral for distribution, however it won't give me the option to distribute online at all...
    Going insane in the maze of forums/ tutorials etc...

    Forms Central forum http://forums.adobe.com/community/formscentral

  • This is showing up on videos I try to view. I have latest update. It is a box that displays over video that says, get video URL, get embed code, etc. how do I correct it?

    A Box has just started showing up that has the following.
    get video url
    get video URL at current time
    Get embed code
    report playback issue
    get debug info
    stats for nerds
    about the HTML.5 player
    this is on every video on face book. How to fix?

    I had the same issue.
    I had a youtube downloader app that had a plug-in installed on my Home Safari. I deleted that app. and the plugin. Not sure if that was the culprit, but I figured I'd try.Thought maybe some bug crossed over when syncing the two safaris.
    Anyway, I ended up unlinking my Mobile Safari to my Home Safari (iPad; iCloud/Safari/OFF)
    A prompt will come up asking what you want to do with previously synced data: Delete from My iPad (don't worry, you'll get it back)
    Your bookmarks should disappear.
    Reset HOME Safari : Safari/Reset Safari (everything checkmarked)
    Turn ON the Mobile Safari again (if you want to relink to the Home version) or keep off (and rebuild it from scratch on iPad alone)
    Personally, I turned it on, got my bookmarks back then turned it off and pressed Keep on my iPad.
    Now the two aren't linked and I have the bulk of my bookmarks back.
    There might be variations of this solution so play around with the process and be sure to refresh your Mobile Safari browser on a video clip to see if it takes.

  • Can't add URLs to "Get Specified URLs"

    Hey. I've been making a 57-step workflow to get, download and rename each of my Google Calendars. This was working fine, but it hit some kind of snag at step 22. On reloading the workflow, I find that Automator has DELETED the content of all of my "Get specified URLs" actions. That means I have to add those URLs about 13 times again!
    Except I can't. When I click the + button, nothing happens. I cannot re-add the URLs at all.
    What a complete waste of my time. Any ideas please?

    Bump

  • Does 2012 OSD get around requirements to get to the MP during the task sequence?

    Currently right now I am working in an environment where we are on SCCM 2007, but will be going to 2012 next year. We are in the process of trying to make it so we can build on a secure network that cannot route to any other network. I am prepared to put
    a DP out on this same network, but the problem I am running into is that during the task sequence starting, it downloads the task sequence from the MP, not the DP as it is not associated with the package. The MP is not on the same un-routable network. We will
    need to have about 6 or so of these, so we do not want to setup 6 MP because now you are looking at not only 6 primary site licenses, but 6 SQL installs (Our environment will not let me get away with doing SQL express for support reasons) which adds up quickly.
    Below is a link to exactly what I am speaking about:
    http://blogs.technet.com/b/configurationmgr/archive/2009/04/16/configmgr-2007-primary-site-mp-is-used-for-the-task-sequence-even-when-deploying-osd-images-to-secondary-sites.aspx
    What I am wondering is if SCCM 2012 OSD was structured differently in a way that access to the MP is no longer necessary during the task sequence process (say for example the task sequence xml is replicated to DPs too)?
    Thanks. 

    My apologizes. I was meaning to say Primary, Secondary Sites. Not MPs. I brought this up to give reference to idea about the boundaries that I am going to have to use to prevent these clients from contacting DPs they they can't route to.
    The idea behind getting off the build network and onto a prod is that security requirements from my companies Infosec require that we limit the amount of traffic on production networks. The idea is that the server be built on the build network, disconnected
    and brought into prod. The whole time the MP would be the same, but the DP would switch based on the prod network they were brought into as DP will reside in these prod networks which will get flipped over by the boundary for the prod subnets. Once on the
    prod network they would be able to contact the MP. 
    I would love to do stand-alone media, this is one of the first roads I started looking down as I have done them in the past for offline builds, but I need the machine to auto assign its hostname from a external servers that will script the build. The build
    process we are trying to put into place will be started from an external website. My first thought was to have it add the machines to a collection and add a variable that would be turned into a task sequence variable during the TS and use it for the hostname
    when it attempt to apply the Windows settings. The only way I think I could get this to work would be to write a script that is executed during the task sequence that would match the MAC address of the machine and assign the hostname by calling on another
    share that is written to by the external website with the MAC and hostnames. The only problem that I cannot get around is that this build process needs to be fully automated and this is for both virtual and physical. I have no problems mounting a stand-alone
    build ISO using a script for VMWare, but the problem starts when I look at the physical and limitations of scripting for both iLo and iDRAC for performing this step. iLo can be done, but iDRAC is limited. 
    As for a reverse-proxy I will not be able to look at that. They have specific requirements against using reverse-proxies in only specific situations and this it not allowed. I got turned down on this one. This requirement is created by a federal regulation
    my company has to follow. 

  • How do I get a url from quicktime?

    I'm using iWeb to host my podcast. http://web.me.com/krushjudgement/Site/Giant-SizePodcast/Giant-SizePodcast.html
    I'd like to have people visit my blogspot for updates. http://giantsizepodcast.blogspot.com/
    Right now I'm using podtrac to stream, but I realized it might be easier just to stream the quicktime versions from my iWeb. I'd like to embed the episodes in quicktime format right onto my blog posts. I've found embed codes, but I don't know how to get the proper urls from iWeb.
    Any ideas?

    Are you trying to retrieve the material?
    If so, open the page in Firefox-->Firefox Menu-->File-->Save Page As-->Save As: Web Page Complete...save to a folder. Firefox will download the html, javascript, css, images and the mp3 audio.
    It took a few minutes for the page to load and another minute or two to download... And I'm on a very fast connection. I was getting around 5-6 MBs during the download.
    The mp3 is 5 levels above the html. I have no idea what level or folder the video is at...
    Message was edited by: David M Brewer

  • UNIX command open. How do I get around warning screens?

    Hello
    I am trying to run an installation of an app program through UNIX commands, since I want to deploy it using ARD. This app is actually an Adobe CS5 update. I managed to get it the installation started using the OPEN unix command. However, I am prompted with a security warning "Installer" is an application downloaded from the insternet. Are you sure you want to open it" Of course the answer would be yes, but I want to do this with no user intervension. Any ideas to get around this?

    Automating as far as building disk images, or packaging for mass deployment on an ad hoc basis?
    As far as building disk images goes, you might want to get into InstaDMG to build fresh, never-booted OS images. For packaging and deployment on an Ad Hoc basis, there are a number of options: Radmind (although this deals less with packaging and IMO acts more like DeepFreeze), Casper Admin Suite (I use this tool), Munki, etc. There's also DeployStudio but I don't know much about this one.
    Munki, DS, and Radmind are free/open source, Casper is pricey, but worth it if you have a large number of macs to manage.

  • 10.5.2 FTP Server- get rid of aliases to AFP/SMB shares?

    Hi all,
    I'd like to open up exactly one folder on my Xserve to outside FTP, from one account. That's easy to do with SACLs, and Server Admin: FTP Settings: Advanced: "Home Directory Only", and defining the FTP root as that one folder.
    The problem is that this folder also gets populated with aliases to the AFP/SMB shares on this server. They don't do anything, they don't connect to anything, but yet, they also have no business being there, and I want them gone.
    How can I have my FTP root not have these unwanted links?
    This is exactly the issue brought up in the archived thread here:
    http://discussions.apple.com/thread.jspa?messageID=5859326&#5859326

    Even if you delete the symlinks, they come back the next time a user logs into the server via FTP
    SO...
    Heres how I did it...
    You gotta have a user that's designed to access your site!
    Think about it... When you log into an FTP site, do you log in with a legitimate user name that has gui access to that computer? Make sure your users know to log in with an FTP user account that we create here.
    First, I created a Group called FTP
    Then I created a user named commweb (short for community web) with a home folder located in /Library/WebServer/Documents/CommunityHome
    So in your server config, the home folder settings for my user are:
    Mac OS X Server/Share Point URL:
    afp://******.****.com/Library/WebServer/Documents
    Path to Home Folder:
    CommunityHome
    Full Path:
    /Network/Servers/****.***.com/Library/WebServer/Documents/CommunityHome
    Then I made commweb a member of the group "FTP"
    This is where it gets tricky.
    I put the website in a folder IN my commweb's home folder. I called it CommunitySite.
    (The site location is /Library/WebServer/Documents/CommunityHome/CommunitySite +you have to specify that in the web server settings+)
    I then "Shared" the commweb home folder (/Library/WebServer/Documents/CommunityHome) making sure to give commweb read and write permission.
    Now.... We wanna deny complete access to all the sharepoints to ANYONE in the FTP group. (Just select 'deny' - Read and write on the rest of the sharepoints) That way the ftp group can't have access to the folders even if they could see them.
    So now, when my commweb user logs in, I make sure that the Initial Path is CommunitySite. Note that you have to specify it in the syntax when logging in through the terminal. For instance the command would be:
    ftp commweb@****.***.com/CommunitySite
    267,899 steps, but it works.
    -Graham

  • I'm trying to download itunes 10 but I get to a point in the download and it tells me, "The feature you are trying to use is on a network resource that is unavailable" but I haven't had itunes on my computer for a year now so how can I get around this?

    I'm trying to download itunes 10 but I get to a point in the download and it tells me, "The feature you are trying to use is on a network resource that is unavailable" but I haven't had itunes on my computer for a year now so how can I get around this?

    iTunes.msi
    Perfect, thanks.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • How to get the URL of the request.

    I am trying to get the URL from where the request is coming to the servlet. If http://www.xx.com/ calls my servlet i want to know that the request is coming from http://www.xx.com/ URL. If i use request.getRequestURL() which is displaying my servlet URL. Please help me which is very urgent.

    You actually want the referrer? You can obtain it from the request headers as follows:String referrer = request.getHeader("referer"); // Yes, with the legendaric misspelling in there.Having said that, be aware that the client has full control over what he sends with the request headers. So the client can change/spoof/remove the referrer entry to his taste anytime. Your code should not rely that much on it, it should rather be used for statistics only.

  • How to get the URL of an iView using AbstractPortalComponent

    Hi All,
    I need to get the URL of an iView using AbstractPortalComponent using the following code.
    But i am unable to open the URL from the Browser
    This is the following code snippet
    public class AbsClass extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    IPortalComponentURI componentURI = request.createPortalComponentURI();
    componentURI.setContextName("pcd:portal_content/LOG_Viewer/LogViewer");
    String URI=componentURI.toString();
    response.write(URI);
    The output i got from the browser is:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
    Actual Path: pcd:portal_content/LOG_Viewer/LogViewer
    Output Path: /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
    Why some extra numerics are embeded in the output path when compare with the Actual Path.
    Can any one send me the modified code and your suggestions, how to achieve this problem.
    Regards
    Phani

    Hi,
    Now i need to get the URL of this component.
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentURI componentURI = request.createPortalComponentURi();
    componentURI.setContextName("com.sap.portal.appintegrator.sap.bwc.Transaction");
    String URI=componentURI.toString();
    response.write(URI);
    I export this component into Portal and i tested with an iView based on this par file, i got the URL in the Preview.
    But when i tried to run this URL by adding the http://<IPADDRESS>:<PORTNO>+URL
    I am facing one AccessDenied Exception for this Object. ( USER/GUEST)
    Is there any security zone, or other Permissions Problem, if so can you plz guide me what are the settings i have to change inorder to resolve this exception
    Regards
    Phani

  • I have an ipad and just bought a second one for my daughter and she wants all my music on her ipad.  We both have our own itunes accounts and music match wont let me put music on hers. how do i get around this?

    I have an ipad and just bought a second one for my daughter and she wants all my music on her ipad.  All the music is under my itunes account yet she has her own itunes account so she can have her own apps and purchase apps with gift cards (She's only 9)
    I subscibe to music match under my account but it wont let me put my music on her ipad under hers or even my itunes account.  I get some sort of 90 day error message.  How do i get around this so I can let her have my music on her ipad?

    iTunes Match is not sharable across Apple IDs. The best way to get the music on her iPad is to leave hers signed into her Apple ID on the iTunes Store and sync via USB.

  • Hi, I have just purchased a ipad mini for my wife and have registered it in my name so that i can add some apps that i think she would appreciate. However if i want to contact her using face time it is registered in my name, how do you get around that?

    Hi I have just purchased an i pad for my wife and have registered it in my name to add some apps prior to giving the i pad to her. However, for using face time and games where you can link via wifi it will look as though there are two of the same, if I am trying to link her ipad to mine. How do you get around this?

    Assign an email address (gmail.com?)
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

Maybe you are looking for

  • How to get unique Batch Name for AP Open Interface Import Program

    Hi, We have enabled the invoice batch controls i.e. the profile option 'AP: Use Invoice Batch Controls' set to Yes. We have an interface with some system from where we receive a data file that has AP invoices. The invoices are loaded into staging tab

  • I do not want iOS to update itself automatically, does it do this?

    I am new to the iPhone, and iOS. I have an iPhone 4s running iOS 5.0.1 I hear 5.0.2 is coming out any day now. As a Mac user I always like to wait after an update is released to read the feedback. Will iOS update itself automatically? If so how do I

  • Create WCS guest accounts

    Hi I like to know if some one has some solution or input to my questions below Is there a way to auto generate user and password for guest accounts? So that you don't have to write in username just click on generate accont and WCS make up a username

  • Do I need to use Key Chain if I upgrade to Maverick?

    After upgrading to Maverick, I had serious issues with Key Chain recently and had to completely wipe clean my iMAC - is it necessary to add this if I upgrade or am I better off just staying with Mountain Lion?

  • Isn't importing all pictures from camera

    I recently bought the Adobe Elements Organizer and for some reason it isn't importing all of my pictures from my camera.  It is only importing certain ones.  I have a Nikon D5000.  Anyone have any advice? Thanks!