Mootools would be preferred because my jquery framework is a little archaic.
I can’t find a very comprehensive example only directions for how to make requests and the examples don’t explain how to use the input.
Oh and I’ll be using this script on my website and the text file will be located on the same server.
I would like to “read” a text file because I’d like to make it easy for the people working on the site who may not be tech savvy to add a word that will be used for sorting or identifying videos for particular displays etc. For example, I need to identify two videos to be marked with “SPECIAL EDITION” when displayed on the page and be played in a special player. The feed’s only unique identifier available is the ID index of the array object created with the information from the YT API’s response.
<snip></snip>The differences between “reading” and “parsing” are very miniscule in this case. Did I ever say I need to “open” a text file? did I say anything about writing to one? Did i say I wanted to create a text file? nope. What do you think happens when you open a text file for reading in any language or on any operating system or in any program? It parses binary to text! Magic!
Please inform me of said knowledge you have about the extreme difference between reading a file and parsing a file in this context <snip></snip>?
I don’t know why you took this as some kind of personal attack, judging by the slew of insults thrown my way over 3 channels. I just clarified the terminology and provided an answer for your question. If you’re more interested in picking fights than writing your script, then I’m outta here.
I agree with Dan as his answer is 100% valid in order to read information from a text file, your response is out of line and disrespectful as Dan took the time to help and gave you the answer but you failed to recognize that and attacked him for no reason. If that is how your going to continue how to act then I suggest you don’t return as we take the time out of our personal lives to help you build up your development career.