edit-task
Home
Up
Delete
Task Name:
Task Description:
SAVE-NEWS-ITEM - enable users to Save individual feed items as 'articles'
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">save newsItem</h1> <h2>[previously]</h2> <ol> <li><strong>x] JS view-article.js</strong></li> <ol> <li>] ADD global var listings to make results available across mutliple functions</li> </ol> <li><strong>x] PG view-article.cshtml v-004 </strong></li> <ol> <li>] ADD frm newsItem - to store values of the item that the user clicks(wishes to save), form contains fields for (title, description, url) </li> </ol> <li><strong>x] JS view-article.js</strong></li> <ol> <li>] ADD function htmlEntities (src= jobs.js) - function replaces char's in textual description with ..</li> </ol> <li><strong>] EDIT function displayNewsItems()</strong></li> <ol> <li>x] EDIT output str to ADD "Save" link </li> <li>x] assign items array to global var listings</li> </ol> <li><strong>x] ADD function ".save".click</strong></li> <ol> <li>x] this is triggered when user clicks the save button on any 1 line</li> <li>x] writes the values of the "selected item" to the form fields in the page</li> <li>x] posts the form </li> <li>?] POST directly to</li> </ol> <li><strong>x] ADD PAGE api/add/article</strong></li> <ol> <li>] set description to partial description</li> <li>] set content to full description</li> <li>] set name_article to title</li> <li>]</li> </ol></ol> <h2>[currently]</h2> <ol> <li>] save a single newsItem as an article record</li> <ol> <li>]</li> </ol></ol> <h2>[next]</h2> <ol> <li>]</li> </ol>