[Comoblog-commit] modules/mod_pingomatic/include mod_pingomatic.inc.php,NONE,1.1
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2005-11-27 19:47:17
|
Update of /cvsroot/comoblog/modules/mod_pingomatic/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8034/mod_pingomatic/include Added Files: mod_pingomatic.inc.php Log Message: initial add, just to make sure ive got the hang of it. mod_pingomatic , automatially notifies pingomatic.com when you submit a new post, inturn this notifies various other sites. NB:: it might be useful to all for various urls to be used for full coverage including a default one for comoblog so that we can do some community building off of the back of it. --- NEW FILE: mod_pingomatic.inc.php --- <?php function mod_pingomatic ($body) { if (CFG_PINGOMATIC_URL == ''){ return (0); } else{ // not the most elegant way perhaps but it works $handle = fopen(CFG_PINGOMATIC_URL, "r"); return ($handle); } } ?> |