Parts-File2Page

A classic ASP include file to read txt file of list into a page using bootstrap grid and fontawesome icons.
Used here in this website, (in Website Devlog and website Todos) it is a nice method to have simple dynamic pages without database.

Edit 2021-11-25: Fixed format and added function as zip instead
Edit 2020-02-03: Enhanced and added ability to show count of lines, and ability to list file in reverse order, bottom line first.

CodeFunctionName
What is this?

Public

Tested

Original Work
' What you need is:
' - The include file "Parts-File2Page.asp"
' - A text file having a list that will be converted into page, any extension, but should be simple ASCII file, example below.
' - Functions, all are available here, in this website
' - Then call it where you want to file to be displayed, simply with an include
' <%
' WholeLog            = ASCII2Read(SiteDevLogFile_URL, 2)
' ShowLinesCount    = 0
' ShowBottomAtTop= 0
' % >
' < ! -- #Include File = "Part-File2Page.asp" -- >


' Example of "TextFile_WithList.txt" : --------
' 1 item per line
' Lines starts with ' are ignored
' Line having '====' is an hr
' Date {{$C$}} Body with multiple items, separated with {{$Sepa$}} .
'            OR
' Any title {{$C$}} Description.

Bug2 Oct 6'19{{$C$}} Table viewer (AJAX) part in Admin page is broken again.
Bug1 Oct 6'19{{$C$}} Linkedin login does not work for: {{$Sepa$}} DrVBA.com {{$Sepa$}}    MyDevLib.com
'===='
Todo13 Oct 6'19{{$C$}} Make all domain redirects into ASP redirect (debug9.com)
Todo12 Oct 6'19{{$C$}} Website log into pages
' End of "TextFile_WithList.txt" : --------

< %
WholeLog            = ASCII2Read(SiteDevLogFile_URL, 2)
ShowLinesCount    = 0
ShowBottomAtTop= 0
% >
< ! -- #Include File = "Part-File2Page.asp" -- >

Views 1,936

Downloads 495

CodeID
DB ID