Monday, April 04, 2011 at 1:07 AM.
radio2Suite.editPost
on editPost (adrpost, title, link, description, enclosure="", adrextradata=nil) { <<Changes <<3/13/11; 1:15:22 AM by DW <<Optional adrextradata param, allows the caller to add any data they want to the post table. <<1/10/11; 5:49:39 PM by DW <<Add optional enclosure param. <<12/25/10; 1:12:58 PM by DW <<Created. radio2Suite.initPost (adrpost); adrpost^.title = title; adrpost^.link = link; adrpost^.description = description; if enclosure != "" { adrpost^.enclosure = enclosure}; adrpost^.stats.ctSaves++; adrpost^.stats.whenLastSave = clock.now (); if adrextradata != nil { local (adr); for adr in adrextradata { adrpost^.[nameof (adr^)] = adr^}}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.