Home | How it works | Projects archive | Contact Us
Air Compressor Bot
 
The Career Path of Freelance Programming Jobs 

   XHTML/CSS dynamic table creation

Bidding Time:
14/10/2006 22:38 - 21/10/2006 00:00
Budget:
$100-300
Status:
Closed


Job Type:
PHP, Website Design, Script Installation, Linux, System Admin.
Description:



Banner

Greetings:
I have a text file (Example text file) that contains (for now) six columns
(order of columns can be changed if needed) that are separated by tabs (better
suggestions?) per line (better suggestions?), this file is be manually updated
with new entries on occasion, new entries will just be added to the bottom of
the text file.

## Example text file (listings.txt) ##
Item Site Item Name Item End Time Item TZ Item End Date Item URL
Amazon Bag of parts that you want for no
reason 08:45:15 CST 10/31/06 http://www.amazon.com...
eBay Container of things you may use
someday 23:59:00 PDT 10/25/06 http://www.ebay.com...
Craigslist Tray of stuff just to have
around 12:30:59 EST 10/15/06 http://www.craigslist.com...

I need a script that will check to see if the text file (Example text file)
exists and is not empty before continuing, script should then read through the
text file and dynamically create an XHTML/CSS table using the external
stylesheet prettytable.css), script should also update the text file by removing
expired entries.
Table (Example table) should be centered on page, each TR should have an
alternating background color, I would like some whitespace between the TH and
start of the TR's and between the TR's themselves, Item Time Remaining should be
time adjusted to system time (PDT) and Item Link will open Item URL.

## Example table ##
Item Name Item Time Remaining Item Link

Tray of stuff just to have around 8d 19h 31m Craigslist
Container of things you may use someday 14d 8h 20m eBay
Bag of parts that you want for no reason 31d 1h 5m Amazon

## prettytable.css ##
table.prettytable {
background:#FFF;
border-collapse:collapse;
empty-cells:show;
margin:1em 1em 1em 2em;
}
table.prettytable caption {
margin-left:inherit;
margin-right:inherit;
}
table.prettytable td {
border:1px #000 solid;
padding:0.2em;
}
table.prettytable th {
background:#FFF;
border:1px #000 solid;
padding:0.2em;
text-align:center;
}
table.prettytable tr.d0{
background-color: #FFF;
}
table.prettytable tr.d1 {
background-color: #CCC;
}

I will be using the script on my Linux server and would prefer it be written in
BASH/PHP so that I may try and maintain it, server is running Apache 2.2.3-2
, PHP 5.1.6-3, Zend Optimizer 3.0.1, and MySQL 5.0.26-1, I am also using CMS
Made Simple 1.0.2 (utilizes Smarty templates).

Thank you,
- James
Additional information submitted:

10/14/2006 at 23:47 EDT:
It looks like the example text file and example table I am
describing are not displaying correctly - the examples actually have multiple
tabs seperating the fields not the single space being displayed, I have .png
images available of how these examples should actually appear had the post not
been reformated, please contact me if you would like these files.

10/15/2006 at 1:43 EDT:
I hope I did not make the script requirments and or description to
confusing, basically I have a text file that contains information related to
online marketplace auctions and sales that I currently have running, in the text
file I have information such as on which online marketplace the item is listed,
the description of the item, the date and time the listing was started, the TZ
used by the online marketplace, and the full URL of the listing, each field is
seperated by tabs and each line in the file is for an individual listing, what I
want the script to do is dynamically create an XHTL/CSS table using an external
stylesheet, the table will contain formated, sorted, and modified information
based on the processing of the text file, some of the online marketplaces list
items with an end date using their system TZ which may or may not be the same as
my TZ, if the TZ's are different I need the time remaining shown in the table
adjusted to my systems TZ, I want to avoid people having to do TZ conversions if
possible, I am open to changing the order or format of the information in the
text file if needed as long as the text file remains easy to update, as I
mentioned before I have created a mockup image of what I would like the finished
table layout to look like if you are interested.

10/15/2006 at 14:51 EDT:
please note that this script will be run as a cron job, I am sorry I
forgot to mention this previously...

Start your work-at-home career for $7.00. Get direct access to thousands of freelance and home-based jobs. Click here to find work now.

Related Projects:
WANTING A BLOG SITE MADE FROM SCRATCH
Flash Banner Ads
Format Custom Tags
Car Classified Search N Sell
Facebook Clone

This project is the proprietary information of . Click here to remove this project from OUR database.
Operating System:
Linux
Database System:
MySQL
<<< back

Recent Projects Archive:

Wednesday - Tuesday - Monday - Sunday - Saturday - Friday - Thursday

View all freelance web projects

 
Home | Projects archive | RSS | Resources | Links | Contact Us © 2004-2008 ProjectsList.biz /0.468