hi everybody.
I was wondering which is the best way to turn a string (e.g. a post title) into a descriptive URL.
the simplest way that comes to mind is by using a regex, such in:
public static Regex regex = new Regex(
"\\W+",
RegexOptions.IgnoreCase
| RegexOptions.CultureInvariant
| RegexOptions.IgnorePatternWhitespace...
Hello,
I am designing a web application which is a tie in to my iPhone application. It sends massively large URLs to the web server (15000 about.) I was using NearlyFreeSpeech.net, but they only support URLS up to 2000 characters. I was wondering if anybody knows of web hosting that will support really large URLs? Thanks, Isaac
Edit: ...
I have a piece of javascript code. Right now it forces users to manually enter the url of the page they want to insert it on. This is kind of a hassle. Is there a way I can fetch the url of the page in automatically and make everyone's life easier?
...
The following link to a URL in my application is giving me an XML Parsing Error on the second equals sign when I try to view the page.
<a href="http://www.example.com/admin/banning.php?do=banuser&u=3">Ban User</a>
I think the problem is the ampersand in the URL. If I encode the ampersand the parsing error goes away but the URL ...
I need to test some existing http:// URL parsing code for compliance to RFC 3986.
I do not want to reinvent the wheel and to bump in to various corner cases.
Is there some existing comprehensive test suite for that?
I do not specify the language I use since I expect the test suite to be generic enough to be adaptable. I would settle ...
It's been explained to me numerous times that all URLs are URIs but not all URIs are URLs. Can anyone give an example of something that is a URI but is not a URL?
...
I have a website that contains "items", that have an ID and title. They are divided into categories.
Category indexed are viewed at URL's like
example.com/tutorials
example.com/maps
What would be the best URL structure for the items themselves, from a SEO point of view and just semantically in general.
example.com/tutorials/12/Make+...
I have a website with items that can be divided into categories (items have one, not like tags).
This gives me URL's like http://example.com/tutorials/12/Do-nice-things. However, the category and title in the URL are for SEO-purposes, I don't need them, just the ID. It would also work with http://example.com/somethingwrong/12/Foobar.
N...
I have a URL like this:
http://192.168.0.1:8080/servlet/rece
I want to parse the URL to get the values:
IP: 192.168.0.1
Port: 8080
page: /servlet/rece
How do I do that?
...
FOR SEARCH ENGINE OPTIMIZATION PURPOSES, does the location of the slug within a URL matter?
There's no doubt that you could code URL slugs to work properly in any order. I'm more interested to know if search engines place different weights to portions of the URL on the right-hand-side vs the left-hand-side
For example, here the slug ap...
I'm trying to download an image from a url.
The process I wrote works for everyone except for ONE content provider that we're dealing with.
When I access their JPGs via Firefox, everything looks kosher (happy Passover, btw). However, when I use my process I either:
A) get a 404
or
B) in the debugger when I set a break point at the URL...
Is there an expiry on bit.ly or tinyurl shortened URLs?
I'm asking because I'm thinking of persisting these shortened urls into the db for a client's twitter service.
UPDATE: if you keep sending bit.ly the same URL, it'll return the same shorten URL!, this is great, because it means I don't need to persist the shorten URLs in my databa...
In asp.net 3.5, I'm rewriting the url
http://www.dotoobeta/blogs/1108
to the following
http://www.dotoobeta/blogs/blogs.aspx
i am using UrlRewritingNet.UrlRewriter.dll and
it work s fine in local but not work in server.
i alrwdy confiuguation iis setting in server also.
what is the solution pls tell me .
premjit
premjeet.m...
Is it feasible to launch an application via a browser / URL? What are the options for doing this?
I know the way to do it with IE and Windows (which usually doesn't work). Ideally, I would like this to be browser independent.
Our application is RCP, so in theory Java Web Start could work, we would just have to do some significant chan...
What are your recommendations for JavaScript URL manipulation library / API
Specifically, I would like to
Extract URL parameters out of a URL string. Ideally, would reflect into a JS object.
Form URL parameter strings (ideally from a JS Object).
...
What is the expression I should use in order to check for a valid url in javascript?
...
Any good strategies, code snippets etc for preventing URL manipulation?
For example I have this url; http://localhost/profile/edit/5 the id could easily be changed to anything and thus people could edit profiles they are not supposed too.
Here are a few ideas I thought of but they all have there drawbacks:
Change my system to use GUI...
Hello!
I want to extract links of a text using RegExp. There is no HTML code in the text so I can't search for the tags "<a...". How can I find the links, though?
Example:
"Please go to http://www.example.org/page1.html and click on ..."
I want to extract the text:
"http://www.example.org/page1.html"
As far as I know, a URL...
I want to create a URL shortener service where you can write a long URL into an input field and the service shortens the URL to "http://www.example.org/abcdef". Instead of "abcdef" there can be any other string with six characters containing a-z, A-Z and 0-9. That makes 56 trillion possible strings.
My approach:
I have a database table...
1) Absolute
http://www.example.com/images/icons.png
2) Relative
../images/icons.png
3) ???
/images/icons.png
4) ???
//www.example.com/images/icons.png
Do URL types 3 and 4 have a name? One place I've seen type 4 being used is at slashdot.
...