Use Serendipity as a wrapper?
Posted: Tue Oct 10, 2006 9:29 pm
Hi,
Is it possible to use Serendipity as a wrapper for another app? The goal is to have an existing application run in the "display area" of s9y, and maybe also be modified to be able to access variable info such as user name.
So I might have myapp.php that does this:
- sets up the s9y environment
- executes myapp stuff
- closes the s9y environment
So if I have, say, a stats program of some sort, I could have a URL like
www.s9ysite.com/myapp.php?op=showstats&player_id=12
and it would show all of the regular Serendipity stuff on top and in the side menus, but the display area would contain my stats application content; no articles or comments would be shown.
I can dig into the code to see if it's possible, but I was hoping someone more intimate with the software could let me know if I'm barking up the wrong tree or not.
- Kevin
Is it possible to use Serendipity as a wrapper for another app? The goal is to have an existing application run in the "display area" of s9y, and maybe also be modified to be able to access variable info such as user name.
So I might have myapp.php that does this:
- sets up the s9y environment
- executes myapp stuff
- closes the s9y environment
So if I have, say, a stats program of some sort, I could have a URL like
www.s9ysite.com/myapp.php?op=showstats&player_id=12
and it would show all of the regular Serendipity stuff on top and in the side menus, but the display area would contain my stats application content; no articles or comments would be shown.
I can dig into the code to see if it's possible, but I was hoping someone more intimate with the software could let me know if I'm barking up the wrong tree or not.
- Kevin