Aplicaciones libres

Categoría: software libre
Enviado: 30.01.2009 10:21

A nosotros nos encanta trabajar con software libre; siempre es nuestra primera opción. Por eso os dejamos este enlace que ha publicado Maestros del web en el que recopilan una serie de aplicaciones libres muy útiles para el diseño web: editores de código, editores de imágenes, etc.
Compartir | Permalink | Comentarios (0)

Mostrar estado de Skype

Categoría: PHP y MySQL
Enviado: 29.01.2009 11:08

Cuando desarrollamos un site con soporte on-line vía Skype, puede ser interesante incluir en la propia página web el estado de nuestro usuario en Skype, para ver si estamos Online o no.

Hacer esto en PHP, realmente es bastante simple, y solo necesitamos crear un archivo class al que llamar desde donde nos interese.

Creamos un archivo class llamado "class.phpSkypeStatus.php" con este contenido:

<?php
/**
* The class class.phpSkypeStatus.php
*
* The class.phpSkypeStatus.php class is for viewing the online status of a skype user
* please read: http://skype.com/share/buttons/status.html
*
* @package phpSkypeStatus
* @author Bastian Gorke <b.gorke@ipunkt.biz>
* @version 2006-03-01
*
* History:
* 2006-03-01: bug fix
* x error with getting xml/image is not longer shown
* 2006-02-13: initial version
*/
class phpSkypeStatus
{
var $skypeid;

var $statusuri = "http://mystatus.skype.com/%s.xml";
var $statusimguri = "http://mystatus.skype.com/%s/%s";

var $str_status_xml = '';

function phpSkypeStatus($id = ""){
if ($id != "") {
$this->setSkypeID($id);
}
}

/**
* set the skypeid for a user to check
*/
function setSkypeID($id){
$this->skypeid = $id;
}

/**
* get status from skype mystatus server
*/
function _retrieveStatus(){
$this->str_status_xml = @file_get_contents(sprintf($this->statusuri,$this->skypeid));
}

/**
* returns the unprocessed xml/rdf data
*/
function getXML(){
$this->_retrieveStatus();
return $this->str_status_xml;
}

/**
* returns status text in specified language. defaults to english
*
* English en
* Deutsch de
* Francais fr
* italian it
* polish pl
* Japanese ja
* Spanish es
* Pt pt
* Pt/br pt-br
* Swedish se
* zh zh-cn
* Cn zh-cn
* Zh/cn zh-cn
* hk zh-tw
* tw zh-tw
* Zh/tw zh-tw
*/
function getText($lang = "en"){
$match = array();
$this->_retrieveStatus();
$pattern = "~xml:lang="".strtolower($lang)."">(.*)</~";
preg_match($pattern,$this->str_status_xml, $match);
return $match[1];
}

/**
* get the status number
*
* 0 UNKNOWN Not opted in or no data available.
* 1 OFFLINE The user is Offline
* 2 ONLINE The user is Online
* 3 AWAY The user is Away
* 4 NOT AVAILABLE The user is Not Available
* 5 DO NOT DISTURB The user is Do Not Disturb (DND)
* 6 INVISIBLE The user is Invisible or appears Offline
* 7 SKYPE ME The user is in Skype Me mode
*/
function getNum(){
$match = array();
$this->_retrieveStatus();
$pattern = "~xml:lang="NUM">(d)</~";
preg_match($pattern,$this->str_status_xml, $match);
return $match[1];
}

/**
* returns a php image ressource defined by type
* {@see #getImagePNG($type)}
*
* TODO at this moment, only supports english language images
*
* type-modes:
* balloon - Balloon style
* bigclassic - Big Classic Style
* smallclassic - Small Classic Style
* smallicon - Small Icon (transparent background)
* mediumicon - Medium Icon
* dropdown-white - Dropdown White Background
* dropdown-trans - Dropdown Transparent Background
*
* defaults to smallicon
*/
function getImageRessource($type = "smallicon"){
$im = @ImageCreateFromPNG(sprintf($this->statusimguri,$type,$this->skypeid));
if (!$im) return null;
return $im;
}

/**
* outputs the statusimage as png to browser
* {@see #getImageRessource($type)}
*
* TODO at this moment, only supports english language images
*
* type-modes:
* balloon - Balloon style
* bigclassic - Big Classic Style
* smallclassic - Small Classic Style
* smallicon - Small Icon (transparent background)
* mediumicon - Medium Icon
* dropdown-white - Dropdown White Background
* dropdown-trans - Dropdown Transparent Background
*
* defaults to smallicon
*/
function getImagePNG($type = "smallicon"){
$png = $this->getImageRessource($type);
@imagepng($png);
}
}
?>


Y el ejemplo de su funcionamiento (llamada desde otro archivo):

<?php
require_once("class.phpSkypeStatus.php");

$skypeid="bastian.gorke";

// new status
$status = new phpSkypeStatus($skypeid);

// if param image = 1 return just the image
if ($_GET['image'] == "1"){
$status->getImagePNG("smallclassic");
}
echo "<html><head><title>".$skypeid." status is ".$status->getText()."</title></head><body>";
echo "<h1>".$skypeid." status is ".$status->getText()."</h1>";
echo "<p>This is a simple example for the phpSkypeStatus class. As you can see my status is: <img src="".$PHPSELF."?image=1" /></p>";
echo "<p>In my language german this status is named ".$status->getText("de")."</p>";
echo "</body></html>";
?>


Esto es todo.
Compartir | Permalink | Comentarios (0)

Test de usabilidad

Categoría: usabilidad
Enviado: 28.01.2009 11:06

Aquí os dejamos una recopilación de herramientas que nos ayudarán a realizar test de usabilidad de los sitios webs que desarrollemos; algo imprescindible si se quiere ofrecer un producto de calidad.

Vía: Maestros del web
Compartir | Permalink | Comentarios (0)

Herramientas SEO

Categoría: posicionamiento / seo
Enviado: 27.01.2009 11:19

Aquí os dejamos una lista de herramientas que os pueden ayudar a mejorar el SEO tanto Off-Page como On-Page en tu sitio.

Estas herramientas varían desde comprobadores de tu ranking en la lista de resultados de los buscadores (SERPs) hasta comprobadores de quién esta enlazando tu sitio.

Estas herramientas te proporcionarán análisis profundos que puedes usar para estudiar el progreso de tu sitio web y/o blog en el camino hacia el éxito.

Herramientas de optimización On-Page

* Website Grader - Un simple analizador de sitios web con algunos consejos que ayudarán a tu sitio.
* W3Optimizer - Agradable herramienta de optimización On-Page que revisa los parámetros más importantes de tu sitio.

Herramienta de información Off-Page

* DiagnosticoWeb - Buena herramienta sobre todo lo que rodea tu sitio web.

Herramientas para SEO On-Page/Off-Page

* SEOCentro - Buena colección de herramientas para SEO. Muy básicas pero pueden ayudar.
* SEOAnalytic - Contiene una colección de herramientas bastante buenas.

Herramientas de tráfico de palabras clave

* Google Adwords Keyword Tool - Escribe aquí la o las palabras claves a las que les quieres estimar el tráfico. Es generalmente usado para Adwords pero es bueno para estimar nichos de mercado para el desarrollo de un sitio web.
* Google Insights - Herramienta en estado beta de Google para ver el volumen de búsqueda de una palabra clave, por región a través del tiempo.

Herramientas de detección de PageRank falso

* CheckPageRank - Buen verificador y validador de PageRank cuando intercambias o compras enlaces.

Herramientas para SERP

* SEOLogs SERP Checker - Comprueba tus SERPs en diferentes data centers de Google.
* SERPRank - Verifica la posición en los SERPs de diferentes buscadores.

Herramientas para enlaces entrantes

* BackLinkWatch - Verificador de enlaces entrantes.
* Yahoo SiteExplorer - Herramienta de verificación de enlaces entrantes de Yahoo! realmente muy detallada.
* Online-Utility Back Link Analyzer - Herramienta de verificación de enlaces entrantes muy bien organizada, compactada y te da una rápida mirada sobre como están distribuidos tus enlaces entrantes.

Herramientas de redirección

* InternetOfficer’s Redirect Check - Esta herramienta revisa si tu redirección 301 esta funcionando apropiadamente. Esto es importante para nuevos dominios y al transferir sitios web.

Herramienta de derechos de autor

* CopyScape.com - Revisa quién esta copiando tu contenido y toma acciones.


Vía: TrazosWeb
Compartir | Permalink | Comentarios (0)
« Primera « Anterior
1 de 4
Telf: 963 926 437  /  info@pampua.com  /          
...porque la imagen de su empresa lo es todo.