Asterisk in Pathname | Yahoo Special Script?

  • Thread starter 0rthodontist
  • Start date
In summary, the conversation is discussing the use of asterisks in URLs and its meaning. The first link provided has an asterisk followed by a new address, and the second link is an example of this usage. The person is curious about the purpose of the asterisk, and the other person explains that it is often used as a separator to distinguish page parameters from the page path. This allows for a wider variety of characters to be used in the parameters without needing to be URL encoded.
  • #1
0rthodontist
Science Advisor
1,231
0
I have a bunch of links that are like

Code:
[URL]http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20061105/ap_on_re_mi_ea/iraq
[/URL]

(that's one link)

with an asterisk and then a new address in the middle of them. Is that for a special-purpose Yahoo script or is there a standard meaning for an asterisk in that context?
 
Last edited by a moderator:
Computer science news on Phys.org
  • #2
Here's another example
Code:
http://web.archive.org/web/*/https://www.physicsforums.com/
which might help answer your question. I'm curious to know the answer as well.
 
  • #3
I think it's used as a separator to easily distinguish a page parameter from the page path. Generally a "?" followed by name/value pairs joined by "&" is used, but what's probably happening is that a web server splits the url at the asterisk, the first element being the path, the second the parameter. One advantage of this approach, that i can think of, is that you can have a wider variety of chars in the parameter without them being URL encoded.
 
Last edited:

Related to Asterisk in Pathname | Yahoo Special Script?

1. What is an asterisk in a pathname?

An asterisk in a pathname is a wildcard character that represents any character or group of characters in a file or directory name. It is commonly used in search queries to match multiple variations of a word or phrase.

2. How do I use an asterisk in a pathname?

To use an asterisk in a pathname, simply include it in the search query or file name you are using. The asterisk will match any combination of characters before or after it, depending on where it is placed. For example, "*script" will match "Yahoo Special Script" and "Asterisk in Pathname".

3. Can I use multiple asterisks in a pathname?

Yes, you can use multiple asterisks in a pathname to represent multiple characters or groups of characters. For example, "*script*" will match "Yahoo Special Script", "Asterisk in Pathname", and "Scripts and More".

4. Are there any limitations to using an asterisk in a pathname?

Yes, there are some limitations to using an asterisk in a pathname. It cannot be the first character in a file or directory name, and it cannot be used in certain file systems or in combination with other wildcard characters.

5. How do I search for a file with an asterisk in the name?

If you are searching for a file with an asterisk in the name, you will need to include the asterisk in your search query. For example, "*Asterisk in Pathname*" will match "Asterisk in Pathname.txt" and "Asterisk in Pathname.docx".

Similar threads

  • Sticky
  • Science and Math Textbooks
Replies
27
Views
4K
Replies
4
Views
3K
  • General Discussion
3
Replies
91
Views
8K
  • General Discussion
2
Replies
58
Views
8K
Replies
1
Views
705
  • Computing and Technology
Replies
2
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
1K
  • General Discussion
Replies
29
Views
9K
  • General Discussion
Replies
25
Views
4K
Back
Top