qarch
Going green anyone?
We are a small organisation and would like to add a small internal news section with headlines somewhere on the main page. There are two reasons we don't want to use RSS. Firstly, the audience for the news will be mainly for internal consumption and doesn't warrant use of RSS.
Secondly, I have found that RSS requires constant coding, re-coding & re-re-conding, by whatever method, whenever the news changes, and we feel the cost of hiring someone just for that is not yet justified.
What I propose is :
1. News will be made using MS Word (since already available, or any other) with or without graphics and saved as html file. One file per news.
2. If the script can handle spaces in the html filenames, then the filename (without the extension) will become the news heading. If not, then whatever the filename, the script will instead read the meta content description tag which will be made meaningful and used as the news heading.
3. All the news files will be kept in one specified directory.
4. The script will read the directory for the existance of html files. If html files exist, it will first display a heading on a column of the main web page where the news are to appear, say something like "The latest news.." or so. Below this, the sript will write out each of the html filenames (or the meta tag contents, as the case may be) and filedate, one line per file/news.
5. The news heading put up as above is to be automatically linked to the corresponding html file so as to bring it up when clicked by a visitor.
6. Unless the script becomes too big or bloated, the news may be time-sorted to have the latest news at the top.
7. Whenever I have any new news item, I or someone will just upload the file to the specified directory and delete or archive old ones. No extra coding, re-coding etc will be required from my side. Practically maintainance-free.
8. If possible, the script may be in either php or javascript.
From my experience with picture galleries, I have found that most gallery makers require one to remake the whole gallery whenever even a single picture is changed. It also generates a lot of html files-one file per picture. Then I came upon a php script which acts as my news proposal above. I just have to add (or delete) the main picture and corresponding thumbnail in the
designated directories. Besides the mainpicture and the thumbnail, I use just one small php file and one css file only.
I feel my proposal above can be done without much difficulty.
Am I asking for too much? Please fell free to comment if it indeed is.
Is there a knowledgeable and good smaritan out there who can help me out?
Secondly, I have found that RSS requires constant coding, re-coding & re-re-conding, by whatever method, whenever the news changes, and we feel the cost of hiring someone just for that is not yet justified.
What I propose is :
1. News will be made using MS Word (since already available, or any other) with or without graphics and saved as html file. One file per news.
2. If the script can handle spaces in the html filenames, then the filename (without the extension) will become the news heading. If not, then whatever the filename, the script will instead read the meta content description tag which will be made meaningful and used as the news heading.
3. All the news files will be kept in one specified directory.
4. The script will read the directory for the existance of html files. If html files exist, it will first display a heading on a column of the main web page where the news are to appear, say something like "The latest news.." or so. Below this, the sript will write out each of the html filenames (or the meta tag contents, as the case may be) and filedate, one line per file/news.
5. The news heading put up as above is to be automatically linked to the corresponding html file so as to bring it up when clicked by a visitor.
6. Unless the script becomes too big or bloated, the news may be time-sorted to have the latest news at the top.
7. Whenever I have any new news item, I or someone will just upload the file to the specified directory and delete or archive old ones. No extra coding, re-coding etc will be required from my side. Practically maintainance-free.
8. If possible, the script may be in either php or javascript.
From my experience with picture galleries, I have found that most gallery makers require one to remake the whole gallery whenever even a single picture is changed. It also generates a lot of html files-one file per picture. Then I came upon a php script which acts as my news proposal above. I just have to add (or delete) the main picture and corresponding thumbnail in the
designated directories. Besides the mainpicture and the thumbnail, I use just one small php file and one css file only.
I feel my proposal above can be done without much difficulty.
Am I asking for too much? Please fell free to comment if it indeed is.
Is there a knowledgeable and good smaritan out there who can help me out?
Last edited: