url

Generate full url to javascript in rails (similar to javascript_path, but url)

Hi, How is it possible to generate an absolute link to the javascript file. I assume there should be something like the one below (which unfortunately does not seem to be available): javascript_url 'main' # -> 'http://localhost:3000/javascripts/main.js' instead of: javascript_path 'main' # -> '/javascripts/main.js' I need the a...

iPhone business card reader with URL callback

This may be right on the edge of appropriate for Stack Overflow. Feel free to downgrade it if I'm out of line. I'm looking for a business card reader on the iPhone that will call back my own app via URL scheme. It's certainly easy enough on the technical side. In your app, you set up the basic URL scheme for yourself. Their app resp...

MS Access 2000 Report needs to be PDF format with URL hyperlinks

Working on an old MS Access 2000 database I didn't create. Has a working "projects report" which the client wants to send to prospects as a PDF document, replacing the currently-text-only project title with a title that is also a hyperlink linking to a web page (we can generate the URL programmatically). Note: Access 2000 does not have...

redirecting a webpage from site A to site B without changing url

Hi All I would like to redirect the user when he/she clicks on a link () to b.com when the user is in a.com without displaying the change in the browser's address bar. How would I do this? Please help. Thanks. ...

browser url encoding different that java's URLEncoder.encode

I have a url like this: product//excerpts?feature=picture+modes when i access this url from browser, the backend receives the request as: "product//excerpts?feature=picture+modes" At the web server end, i am using + as a separator. so feature=picture+modes means there are 2 features: picture and modes I have created and automated scri...

urllib2.urlopen() vs urllib.urlopen() - urllib2 throws 404 while urllib works! WHY?

import urllib print urllib.urlopen('http://www.reefgeek.com/equipment/Controllers_&_Monitors/Neptune_Systems_AquaController/Apex_Controller_&_Accessories/').read() The above script works and returns the expected results while: import urllib2 print urllib2.urlopen('http://www.reefgeek.com/equipment/Controllers_&_Monitors/...

How to do a "backwards" regular expression search and extract

I have a bunch of URLs to parse in PHP, like this: www.example.com/shopping shopping.example.com example.com/pages/shopping for about 100 different pages (not just shopping - some are contact, some are directions, etc.). I have a seed set of data, which tells me where to look for the page names, like this: www.example.com/[pagenam...

Uploading videos with URL....

I have a php script which grabs a video's dynamic URL from its web location. When hosting the page on my localhost using apache, the URL for that video works, so the dynamic URL retrieved is the correct one. However , when I try to upload the files to http://online-dizi-film-izle.com/www/ ....the URL changes, and it becomes invalid. Any...

Magento: Getting Product Url's for Products within a Grouped Product

For a grouped product, I would like to display a link to the simple products it is composed of. For example, if I have a grouped product called Dining Set composed of plates, knives, forks, etc. I'd like each of the subproducts to have a link to that subproduct (click plates goes to the Simple Product for plates) <?php foreach ($_associ...

iPhone NSURL get last redirected url

Hello Guys, i wonder how can you update your NSURL to the last url that a your url will redirect to using NSURL or NSRequest appreciate your help. thanks. ...

Load Data by HTTPService from Url into Flex text area as a string

Hi all I want to use an HTTPService to load some data (number of columns and number of rows) which change randomly by a certain frequency I get the string like freq#ncols#nrows#value. How can i display for example: 1000#21#13#2391 that means: in 21 col, 13 row i have the value of 2391 which changes every 1 second. Thanks ...

Is ther a way to get a java applet page URL from the server?

Does the server know the page URL of the applet without asking the applet? There's Applet.getDocumentBase() to handle that from the applet itself but I was wondering if there was a way on the server without referring to the applet. ...

how to create vanity url in java web applications?

Hi If we have a person-directory application, where we can check the details of a specific person (for example, person with id 239) at http://person-directory.com/detail.jsp?id=239 how can we create vanity urls in it? i.e. instead of typing the above url, we use http://person-directory.com/julius to open the detail page of person...

Salesforce Create Buttons and Links option - Custom URL to launch email template

I have an email template that I would like to launch from within the case using a Link/Button. I see the option under setup->customize->cases->button and links I even see where I need to place the URL. What I don't see is nay documentation on how to build the URL to launch an email template. Any help you be great ...

Identify embedded code in textbox using jQuery

I recently found out about oEmbed which is "a fomat for allowing an embedded representation of a URL" basically you enter the url of a youtube video that you like and oEmbed will return the embedded code of the video in this page. I want to give my users the option to either enter a url or embed code in a textbox. If is embed code it s...

Does URL Shorter Effect My SEO Endeavor?

Hope this post will not be killed on the ground of "NOT PROGRAMMING RELATED". It seems everyone is flocking to URL shorten service recently. For some special sites like twitter, I am really OK with it. However, I just wandering if I use that shorten URL in other place like PR, am I losing back links juicy? or are there any other down si...

how to obtain URLs from Dmoz ODP

Hi , I want to use a database of URLs present in DMOZ ODP for my application. ( an array of URL strings OR a file containing the same ). Is there any way of obtaining it , ( other than the manual copy-paste ) ? EDIT : Is there any script / code to parse the rdf file.. ...

url redirection issue

Hi i want to know if one website totally change except home page url so the website previously page url how to redirect on newly created page please help how to write that particular code ...

Is a slash ("/") equivalent to an encoded slash ("%2F") in the path portion of an HTTP URL

I have a site that treats "/" and "%2F" in the path portion (not the query string) of a URL differently. Is this a bad thing to do according to either the RFC or the real world? I ask because I keep running into little surprises with the web framework I'm using (Ruby on Rails) as well as the layers below that (Passenger, Apache, e.g., ...

Help needed for mod_rewrite / url rewrite expression

Hi i m newbie in URL rewriting.. frankly speaking i have no idea bout using regexp Here is what i want to do .. i want a url rewrite rule for www.mydomain.com/news/this is new title/1 this shud call/go to www.mydomain.com/news/display.asp?id=1 similarly www.mydomain.com/articles/this is article title/1 shud call/go to www....