edit-task
Home
Up
Delete
Task Name:
Task Description:
ARCHIVE - adding option to save results of news feed [how]initially we are going to save the results as a list of links(by passing the title,url) of each news story,PUBLISHED as REV-00# in BK
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h2>[-previously-]</h2> <ol> <li><strong>] <a href="http://sospep.com/view/task?id=2827" target="_blank">feature idea 3250</a></strong></li> <ol> <li>x] overview articles describing what this feature 'news tab' is and what it does, it breifly outlines our plan on how we are going to implement it. </li> </ol></ol> <h2>[-currently-]</h2> <ol> <li><strong>x] modified the script (tech_news) that processes the result set</strong></li> <ol> <li>x] built an additional string to (list of links), (we will save this string into a single db record)</li> </ol> <li><strong>x] added "Archive" button to toolbar_record view/{article} , </strong></li> <ol> <li>btn = Archive, this saves the contents of the current news feed results as a</li> </ol> <li><strong>x] added script to toolbar_record,</strong></li> <ol> <li>archive click - this posts the</li> </ol> <li><strong>] check if archive-record exists already</strong></li> <ol> <li>] NO = record.name = ,description=, content=list-of-links, .</li> </ol> <li><strong>x] CREATE new article archive-record "2012-11-25" </strong></li> <ol> <li>] news-2012-mm-dd, LOCATED in "news/yesterday"</li> </ol> <li><strong>x] ADD FILE /qry </strong></li> <ol> <li><strong>] (id=#) add-article-2 -</strong> catches the post request and inserts the record into the db, auto generates the title (based on todays date),</li> <li>] using seperate file for now , code could be merged into the base add/article file</li> </ol></ol> <h2>[-next-]</h2> <ol> <li><strong>] was "thinking" to save the entire page(with description), but we are likely to hit the 64 kb limit on 'content' field</strong></li> <ol> <li>] could check string size , could expand content field size OR</li> </ol> <li><strong>] SUMMARY = got this to work,</strong> had some minor issues with posting, put our 'content' into "hidden" form input, declare form to post ( and serialize) when posting from inside jq script, have to use REQUEST unvalidated to accept the html input</li> <ol> <li>cc lj jq database</li> </ol></ol> <p> </p>