
Eric
Product Specialist

Dec 17, 2003, 1:46 PM
Post #2 of 4
(4409 views)
Shortcut
|
|
Re: [richmilns] Output News headlines and links to files in a text file?
[In reply to]
|
Can't Post
|
|
Hi Rich, Thank you for your kind comments. While you cannot create this text file automatically, you can manually create this text file by modifying the template files. Here's how: 1. VERY IMPORTANT! Backup the /templates/_index.html template file. You need that file later on if you don't want to lose your web design. 2. Edit _index.html file, and erase everything on it. Now copy and paste the following: <!-- template insert : $list$ --> <!-- templatecell : row --> "$name$", "$url$" <!-- /templatecell : row --> <!-- templatecell : notfound --> <!-- /templatecell : notfound --> The comma and quotations are necessary to differentiate between the headline and the URL. This is commonly known as comma-delimited notation and is used often by programs to export information from one software to another. Programs like Flash should be able to pickup comma-delimited records and use them accordingly. 3. Upload the new _index.html file back to the server, overwriting the existing one. 4. Republish the News Articles Index by going to Setup Options and press the Publish All button. 5. Don't be alarmed if your news site doesn't work properly. This is intentional. Right now the news.html page in your /nm/publish folder contains the text file you need. Simply rename the file to something else with the .txt extension. 6. Backup the _index.html, and rename the file to a meaningful name, since you will need to use that file again whenver you want to update the text file. 7. Re-upload the original _index.html file back to the server, replacing the _index.html template file. 8. Repeat step 4 to republish the content. 9. Your site should be back to normal, and now you have the text file you need . Since this is a manual process, you will need to do this every time you want to update the text file. Other than that, you have a text file you can use, and you don't have to pay anything extra for it! Let me know how it goes, and if you have questions about it, please let me know. Cheers, Eric Lau - Product Specialist support@interactivetools.com
|