[Breve] Incluye el visor de Google Doc en tu web para visualizar documentos PDF en línea

Ya es algo de lo que podíamos disfrutar todos los que usamos Gmail y ahora en Ubuntu Life veo la manera de poder usarlo de forma embebida en nuestras webs. Sin lugar a dudas es una opción más que interesante.

La forma, incluir en el código HTML la siguiente sentencia, variando el estilo del iframe a vuestro gusto:

< iframe   src = "http://docs.google.com/gview?url=DIRECCION_DOCUMENTO_PDF&embedded=true"   style = "width:600px; height:500px;"   frameborder = "0" > </ iframe >


Warning: INSERT command denied to user 'linuxhis_drupal'@'localhost' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:300:\"UPDATE command denied to user &#039;linuxhis_drupal&#039;@&#039;localhost&#039; for table &#039;sessions&#039;\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &#039;38.107.179.240&#039;, session = &#039;&#039;, timestamp = 1328892244 WHERE sid = &#039;8d0a6e977dc4fd4a6fe2c39f49691353&#039;\";s:5:\"%file\";s:54:\"/home/linuxhis/public_html/portal/includes/session.inc\";s:5:\"%line\";i:68;}', 3, '', 'http://www.linuxhispano.net/portal/noticia/incluye-visor-google-doc-tu-web-para-visuali in /home/linuxhis/public_html/portal/includes/database.mysql.inc on line 128