Installed Packages

Over at the Newtontalk site, there's a series of surveys conducted a while ago titled "What's on Your Newt?" If I'd released NPDS back then, we could have figured all that out without having to have people send in forms and stuff. They could just have had this script running on a page on their Newtons and we could have dropped by to see what they had installed!

Name: Packages

SSI: PKGLIST

func(nullvar)

//We're just going to make a HTML list...

local list:= "<B>Installed Packages</B><BR><UL>";

//Extract the English language title for each PKG
//and add it to the list

foreach pkg in GetPackages() do

list:= StrConcat(list, "<LI>" & pkg.title);

//Finish up the list with a /UL

list:= StrConcat(list, "</UL>");

return list;  

end