AJAX Forums

In a robots.txt file, what does the '$' character mean? Example: "Disallow:...

This is a discussion on In a robots.txt file, what does the '$' character mean? Example: "Disallow:... within the XML and XSLT forums, part of the Beginners AJAX category; .../index.xml$"?...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-21-2007, 11:54 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 yo_dax is on a distinguished road
In a robots.txt file, what does the '$' character mean? Example: "Disallow:...

.../index.xml$"?
__________________
yo_dax is offline   Reply With Quote
Old 06-22-2007, 04:04 AM   #2 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 singlenhman_1961 is on a distinguished road
The $ at the end of a string indicates that this should be the end of the expression to look for... in other words, in the example you gave would match a file called index.xml, but would not match the file index.xmls
__________________
singlenhman_1961 is offline   Reply With Quote
Old 06-22-2007, 05:43 AM   #3 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 Dilbert66 is on a distinguished road
Probably a typo. The disallow line in the robots.txt file should specify the starting URL that a robot should not visit and it should either be in the form of /path/to/exclude or you can specify the terminating slash /path/to/exclude/. The only reason to have /index.xml$ would be if you actually had a file in the root directory of your server called index.xml$ with the trailing dollar sign as part of the filename.I have provided a link to the robots.txt spec for your perusal.































www.robotstxt.org
__________________
Dilbert66 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
How can I convert excel file to XML file formate??? shiva XML and XSLT 1 11-23-2007 05:02 PM
When I'm opening my html file, it's showing- "Internet Explorer has... S.Bhattacharjee XHTML and CSS 0 06-01-2007 05:40 PM
how to find file path and infor mation of file using java program in local system.? rajeswa r JavaScript 1 05-21-2007 01:21 AM
how do you convert a word file to a .xml or .txt file? boobie XML and XSLT 1 05-12-2007 10:37 AM
how can I write "download file" code in xhtml? Noura K XHTML and CSS 0 04-04-2007 10:02 AM


All times are GMT -4. The time now is 01:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com