class dcDiggLike
{
function dcSubmitToDigg ($img=1,$txt='') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://digg.com/submit?phase=3&'.
'url=' . urlencode($url) .'&'.
';title=' . urlencode($title)
);
}
}
}
function dcSubmitToDelicious ($img=1,$txt='') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://del.icio.us/post?v=2&'.
'url=' . urlencode($url) .
';title=' . urlencode($title)
);
}
}
}
// fonction par NiKo http://www.prendreuncafe.com
// modifier par Tibo
function dcSubmitToBlogmarks($img=1,$txt=' Blogmark it! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
$summary = $GLOBALS['news']->getChapo() != "" ? strip_tags($GLOBALS['news']->getChapo()) : strip_tags($GLOBALS['news']->getContent());
$tN = array("\r", "\n", "\t");
$tR = array("", " ", "");
$summary = str_replace($tN, $tR, $summary);
while (ereg(" ", $summary)) $summary = str_replace(" ", " ", $summary);
$summary = substr(chop($summary), 0, 255) . '...';
$tags = $GLOBALS['news']->f('cat_libelle');
$via = getenv('HTTP_REFERER');
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
$summary = utf8_encode($summary);
$tags = utf8_encode($tags);
$via = utf8_encode($via);
}
echo sprintf (
$s, 'http://www.blogmarks.net/my/new.php?'.
'title=' . urlencode($title) . '&'.
'summary=' . urlencode($summary) .'&'.
'url=' . urlencode($url) . '&'.
'via=' . urlencode($via) . '&'.
'tags=' . urlencode($tags)
);
}
}
}
function dcSubmitToBookeet($img=1,$txt=' Bookeet it! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
$summary = $GLOBALS['news']->getChapo() != "" ? strip_tags($GLOBALS['news']->getChapo()) : strip_tags($GLOBALS['news']->getContent());
$tN = array("\r", "\n", "\t");
$tR = array("", " ", "");
$summary = str_replace($tN, $tR, $summary);
while (ereg(" ", $summary)) $summary = str_replace(" ", " ", $summary);
$summary = substr(chop($summary), 0, 255) . '...';
$tags = $GLOBALS['news']->f('cat_libelle');
$via = getenv('HTTP_REFERER');
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
$summary = utf8_encode($summary);
$tags = utf8_encode($tags);
$via = utf8_encode($via);
}
echo sprintf (
$s, 'http://www.bookeet.com/post.php?'.
'title=' . urlencode($title) . '&'.
'url=' . urlencode($url) . '&'.
'root=Dotclear'
);
}
}
}
function dcSubmitToTechnorati($img=1,$txt='') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST');
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://technorati.com/faves?'.
'add=' . urlencode($url)
);
}
}
}
function dcSubmitToScoopeo($img=1,$txt=' Scoop it! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.scoopeo.com/scoop/new?'.
'newurl=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
function dcSubmitToFuzz($img=1,$txt='') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.fuzz.fr/?nws_article?'.
'link=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
function dcSubmitToTapemoi($img=1,$txt=' Tape Moi! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.tapemoi.com/submit.php?'.
'lien=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
function dcSubmitToAllactu($img=1,$txt=' AllActuer Ca! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.allactu.com/submit.php?'.
'url=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
function dcSubmitToNuouz($img=1,$txt=' Nuouz Ca! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.nuouz.com/addNews.aspx?'.
'url=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
// Merci ŕ Franck
//http://www.generationmp3.com/ohmypod
function dcSubmitToMemes($img=1,$txt=' Memes Ca! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.blogmemes.net/fr/post.php?'.
'url=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
function dcSubmitToPioche($img=1,$txt=' Pioche Ca! ') {
if (isset($GLOBALS['news']))
{
$s='';
if ($img)
$s.='
';
$s.=$txt;
$s.='';
$title = $GLOBALS['news']->f('post_titre');
$url = 'http://' . getenv('HTTP_HOST') . $GLOBALS['news']->getPermURL();
if ($title && $url) {
if (dc_encoding != 'UTF-8') {
$title = utf8_encode($title);
$url = utf8_encode($url);
}
echo sprintf (
$s, 'http://www.pioche.fr/submit_news.php?'.
'newurl=' . urlencode($url) . '&'.
'title=' . urlencode($title)
);
}
}
}
}
?>
Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog2-enki/wwwroot/ecrire/tools/dcdiggLikeIt/functions.php:1) in /home/wwwroot/blog2-enki/wwwroot/index.php on line 47
Open source - Enkilt - le blog d'entreprise de Enki Technologies
Open source, OpenMeetings, Visioconférence
Internet a révolutionné les techniques de l'information et de la communication. Aujourd'hui, on peut très facilement dialoguer avec son ami japonais via un logiciel de messagerie instantanée. Et bien sûr tout cela à moindre coût. A ce propos, quels sont les besoins des entreprises en matière de communication? Le support papier est de moins en moins utilisé et le courrier postal est remplacé au profit de l'email. Jusque là , ces "process" sont plutôt bien huilés et faciles à déployer.
Parlons plutôt de travail collaboratif. Un prestataire et un client n'auraient ils pas besoin de communiquer facilement si l'un est à New York et l'autre à Paris? Une entreprise divisée en plusieurs pôles à travers le Monde, ou l'Europe ou même la France, n'a t-elle pas ce besoin là ?
Lire la suite
Fatal error: Class 'dcDiggLike' not found in /home/wwwroot/blog2-enki/wwwroot/themes/enki/list.php on line 54