Here is the code I'm using to display it:
![]() |
Code To Show All the Blog Entries |
Right away I pull up the blogs db. then grab all the entries as a Collection. Next I opened a cursor and to the Collection iterated over it.
A couple key points:
- I sorted the entries by date (dt) in descending order.
- Its a 2 step process.
- Get The Collection
- Sort The Results
This is different than SQL where I would say something like:
SELECT * FROM BLOG ORDER BY DT DESC;
- The Blog Entry is formatted using Text_Wiki which requires a call to require_once("Text/Wiki.php");
So that's where I'm at. Still need lots of features but I'm having fun with it.
Til next time
Cheers,
TheSortedProgrammer
No comments:
Post a Comment