url

regular expression C#

i have html page with link like /with_us.php?page=digit and out.php?i=digit . how can i get all this links from page, but it will be better if i can collect immediately only digits from this links ...

What is the Best Way to Clean a URL with a Title in it

What is the best way to clean a URL? I am looking for a URL like this what_is_the_best_headache_medication My current code public string CleanURL(string str) { str = str.Replace("!", ""); str = str.Replace("@", ""); str = str.Replace("#", ""); str = str.Replace("$", ""); str = str.Replace("%", ""); str = str.Re...

How to save the content in UIWebView for faster loading on next launch?

I know that there are some caching classes introduced in the iphone sdk recently, and there is also a TTURLRequest from three20's library that allows you to cache a request to a URL. However, because I am loading the web page in UIWebView by calling UIWebView's loadRequest, those techniques are not really applicable. Any ideas how I ca...

Is having a descriptive URL needed to be a web 2.0 website?

Our in-house built CMS system has the ability to have descriptive url (http://stackoverflow.com/questions/889312/descriptive-urls-vs-basic-urls) versus basic urls (http://test.com/index.php?id=34234) We want to know other than giving a little more feedback to crawlers out there, if will mean something else. Do having this descriptiv...

On iPhone, how can I use fileHandle to download a mp3 file on the fly?

I am trying to implement the AudioFileStreamSeek feature on my streaming app. But there is no way I can get this running. Even Matt Gallagher said on his blog: Icidentally, the AudioFileStreamSeek function seems completely broken. If you can't get it to work (as I couldn't) just seek to a new point in the file, set discontinuous to ...

Search form url structure

We are building a large search interface with close to 70 properties. Most of these properties are boolean (only hold 0 or 1), around 12 are with int values and some are string. goal: http://www.example.com/q/test_search/fdgREGd3vfS323 want to avoid: http://www.example.com/q/test_search/?val_12=1000&val_120=0&val_4=XY.... Our ...

using customErrors for vanity URLs / asp.net url redirection

So, from here... In ASP.NET, you have a choice about how to respond to that - it's in the web.config as CustomErrors. Turn that on, then redirect to a fancy 404 page (maybe you already do). The fancy 404 page, then, could be checking the requested querystring (which gets passed over to the custom error page as yet another querystrin...

How to generate temporary URLs in Django

Wondering if there is a good way to generate temporary URLs that expire in X days. Would like to email out a URL that the recipient can click to access a part of the site that then is inaccessible via that URL after some time period. No idea how to do this, with Django, or Python, or otherwise. ...

Change url-string

I want this url http://www.youtube.com/watch?v=dgNgODPIO0w&feature=rec-HM-fresh+div to be transformed to: http://www.youtube.com/v/dgNgODPIO0w with php. ...

Check if Youtube and Vimeo-clips are valid

Hi, I have been trying for quiet a while to check if submitted links are valid film-clips from youtube.com or vimeo.com but I did't success. Any ideas how to check url's like: http://www.youtube.com/watch?v=jc0rnCBCX2c&feature=fvhl (valid) http://www.youtube.com/watch?v=jc0FFCBCX2c&feature=fvhl (not valid) http://www.youtube.c...

URL Parsing in Java (with Tomcat)

I want to parse a descriptive-style URL with slashes in Java (server/books/thrillers/johngrisham/thefirm). How do I do this? Edit: My overall idea is to handle the data I receive to do a lookup (therefore using the URL as search criteria) in a database and then return a html pages with data on it. ...

Check whether image exists on remote URL

I am generating dynamic URLs of images for book ISBNs. I need a reliable way with PHP to check whether the images actually exist at the remote url. I tried various approaches with different PHP libraries, curl, etc., but none of them works well, some of them are downright slow. Given the fact that I need to generate (and check!) about 60...

Is it possible to get URL variable using Flash/AS3?

When a user click a link, it would redirect them to a page, something like: www.domain.com/index.php?var=string Is it possible in AS3 to grab the variable (var)?? (I know there are alot of ways to get the variable, for example, php $_GET, but my website is purely flash based, I dont want to use php to get the value and store it in se...

Java URL - Passing Arguments - Servlets

Currently using the HTTPServletRequest class and specifically the .getQueryString method to retrieve an inputted URL. The URL it will parse is say server/package/servlet?args1/args2/arg3.. I'd like to remove the question mark (?) from the URL however I have no idea how you would accomplish this. I'd just like to replace it with a forw...

Is there an alternative to rail's auto_link helper method?

I'm using the auto_link method in Rails to turn urls in plain text to clickable links. It works pretty good most of the time. but google.com doesn't create a link Is there something else out there that provides better coverage of urls? Or is there anyway I can easily modify the Rails code to include .coms and .net without a http or ...

Sending user to their browser's Home Page using Javascript

Is it possible to get a browser's home page using Javascript? I'd like to place a link on a page that goes to the home page set in the browser. ...

JQUERY divs inside page, with URL?

Hi Masters Of Web, I have a bit complicated question. Complicated for me. First of all I want to say that I read almost everything here in forum about this, I tried some codes fond here and in web but nothing suits in my case. So: I have got a site based on one single page (index.php). All content in it is called via show/hide divs with ...

django 'url' template tag error

My URLconf contains this pattern: url(r'^accounts/logout/$','django.contrib.auth.views.logout', name="logout"), And I've trying to reverse that in a template with the URL tag like this: <a href="{% url logout next_page=request.path %}">logout</a> But I keep getting the following error: Reverse for 'logout' with arguments '()' and...

URL masking in php?

I have a link which is like this: www.domain.com/index.php?var=string1&var2=string2 I want to mask the url to become something like: www.domain.com/index.php, or its best to be like this: www.domain.com I tried google, I found some methods: Using iframe using frameset Mod_rewrite I am using php, IIS and mysql, my server is windo...

Passing base64 encoded strings in URL

Is it safe to pass raw base64 encoded strings via GET parameters? ...