[greenstone_es] Re: Abrir un archivo pdf

  • From: ADO solutions <adosolutions@xxxxxxxxxxx>
  • To: grupo greenstone <greenstone_es@xxxxxxxxxxxxx>
  • Date: Tue, 5 May 2009 10:15:32 -0500

Hola 

Todo lo que me has escrito es lo que tengo 

Este es un archivo  doc.xlm

Gracias x la ayuda

Alexandra

 

 <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 

  <!DOCTYPE Archive (View Source for full doctype...)> 

- <Archive>


- <Section>


- <Description>


  <Metadata name="gsdlsourcefilename">import\CRYPTOGAMARUM 
VASCULARIUM\CRYPTOGAMARUM VASCULARIUM.html</Metadata> 

  <Metadata name="gsdldoctype">indexed_doc</Metadata> 

  <Metadata name="Language">en</Metadata> 

  <Metadata name="Encoding">iso_8859_1</Metadata> 

  <Metadata name="Plugin">HTMLPlug</Metadata> 

  <Metadata name="FileSize">2041</Metadata> 

  <Metadata name="Source">CRYPTOGAMARUM VASCULARIUM.html</Metadata> 

  <Metadata name="hascover">1</Metadata> 

  <Metadata name="DATOS.TITULO">CRYPTOGAMARUM VASCULARIUM</Metadata> 

  <Metadata name="DATOS.NUMEROPAGINAS">123</Metadata> 

  <Metadata name="DATOS.AUTOR">Sodiro, Luis S.J.</Metadata> 

  <Metadata name="DATOS.TEMA">BOTANICA</Metadata> 

  <Metadata name="DATOS.IDIOMA">ESPAÑOL</Metadata> 

  <Metadata name="DATOS.INSTITUCION">BIBLIOTECA AURELIO ESPINOSA 
POLIT</Metadata> 

  <Metadata name="DATOS.PESO">12.1 MB</Metadata> 

  <Metadata name="DATOS.ANIO">1.883</Metadata> 

  <Metadata name="pdf."><a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a></Metadata> 

  <Metadata name="pdf.assoclink"><a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a></Metadata> 

  <Metadata name="pdf."><a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a></Metadata> 

  <Metadata name="pdf.assoclink"><a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a></Metadata> 

  <Metadata name="equivlink"><a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a> <a 
href="_httpprefix_/collect/[collection]/index/assoc/{Or}{[parent(Top):archivedir],[archivedir]}/CRYPTOGAMARUM
 VASCULARIUM.pdf">{If}{_iconpdf_,_iconpdf_,pdf}</a></Metadata> 

  <Metadata name="DATOS.AZLIST">C</Metadata> 

  <Metadata name="Title">Untitled Document</Metadata> 

  <Metadata name="FileFormat">HTML</Metadata> 

  <Metadata name="URL">http://CRYPTOGAMARUM VASCULARIUM/CRYPTOGAMARUM 
VASCULARIUM.html</Metadata> 

  <Metadata name="Identifier">HASH1e83cea4c7b45d1f727cc3</Metadata> 

  <Metadata name="lastmodified">1234810090</Metadata> 

  <Metadata name="assocfilepath">HASH1e83.dir</Metadata> 

  <Metadata name="gsdlassocfile">cover.jpg:image/jpeg:</Metadata> 

  <Metadata name="gsdlassocfile">CRYPTOGAMARUM VASCULARIUM.pdf::</Metadata> 
  </Description>

  
<Content><p>TITULO:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Español<br /> 
TEMA:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Botánica <br /> NUMERO DE 
PAGINAS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;123</p></Content>
 
  </Section>
  </Archive>


 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11 
 




 


From: dspano@xxxxxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx
Subject: [greenstone_es] Re: Abrir un archivo pdf
Date: Mon, 4 May 2009 17:49:45 -0300







Alejandra, creo que estamos confundidos, por eso no le encontramos la vuelta al 
tema. Yo pensé que vos estabas importando solo pdfs, pero parece que es al 
reves. Pasemos un poco en limpio.
 
Vos en la carpeta import tenes un archivo html y un pdf (con el mismo nombre), 
por ejemplo:
 
Libro1.pdf
libro1.html
 
Importás el html como documento principal y adjuntás  el pdf como documento 
asociado. Es así?
 
Luego de correr el proceso import tendrías que tener en la carpeta archives una 
subcarpeta llamada HASHnnnnn y adentro de esa carpeta hash deberías tener un 
archivo doc.xml y otro llamado doc.pdf.
 
Hasta acá vamos bien?. Si la respuesta es afirmativa, entonces enviame por 
favor un archivo doc.xml de los que tenes en las carpetas archives/hashnnnn 
para ver como te importó el pdf.
 
Saludos

Diego
 
 
 
 
 


De: greenstone_es-bounce@xxxxxxxxxxxxx 
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de ADO solutions
Enviado el: jueves, 30 de abril de 2009 15:44
Para: grupo greenstone
Asunto: [greenstone_es] Re: Abrir un archivo pdf
 
la version 2.8

 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 




 



Date: Thu, 30 Apr 2009 14:38:09 -0400
Subject: [greenstone_es] Re: Abrir un archivo pdf
From: felipevera@xxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx

Que versión de Greenstone estas usando ??

El 30 de abril de 2009 14:35, ADO solutions <adosolutions@xxxxxxxxxxx> escribió:

aun sigue sin funcionarme este es le collect 
gracias x tu ayuda
 
creator  bibliotecavirtual@xxxxxxxxxxxxxxxxxxxxxxxx
maintainer bibliotecavirtual@xxxxxxxxxxxxxxxxxxxxxxxx
public  true
buildtype mgpp
#indexes document:text document:Title document:Source
indexes  DATOS.AUTOR DATOS.IDIOMA DATOS.TEMA DATOS.TITULO 
DATOS.AUTOR,DATOS.IDIOMA,DATOS.INSTITUCION,DATOS.TEMA,DATOS.TITULO
defaultindex DATOS.AUTOR
levels document
indexoptions accentfold casefold stem
defaultlevel document
classify Hierarchy -metadata DATOS.INSTITUCION -buttonname "catálogo general" 
-hlist_at_top  -sort DATOS.TITULO
classify Hierarchy -metadata DATOS.AZLIST -buttonname "título A-Z" 
-hlist_at_top  -sort DATOS.TITULO
classify AZCompactList -metadata DATOS.AUTOR -buttonname autores -sort 
DATOS.TITULO
classify AZCompactList -metadata DATOS.TEMA -buttonname temas -sort DATOS.TITULO
classify AZCompactList -metadata DATOS.IDIOMA -buttonname idiomas -sort 
DATOS.TITULO
plugin  ZIPPlug
plugin  GAPlug
plugin  TEXTPlug
plugin  HTMLPlug -associate_ext pdf
plugin  EMAILPlug
plugin  RTFPlug
plugin  WordPlug
plugin  PSPlug
plugin  ImagePlug
plugin  ISISPlug
plugin  NULPlug
plugin  MetadataXMLPlug
plugin  PDFPlug
plugin  ArcPlug
plugin  RecPlug
format VList "<td valign=\"top\">[link][icon][/link]</td>
<td 
valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign=\"top\">[highlight]
{Or}{[DATOS.TITULO],[dc.Title],[exp.Title],[ex.Title],Untitled}
[/highlight]{If}{[DATOS.ANIO],<br><i>[DATOS.ANIO]</i>} [DATOS.AUTOR]</td>"
format HList "[link][highlight][DATOS.TITULO],[ex.Title][/highlight][/link]"
format DocumentHeading 
"{Or}{[parent(Top):Title],[DATOS.TITULO],[Title],untitled}<br>" 


format DocumentText "Descargar documento PDF 
{Or}{[parent(Top):pdf.assoclink],[pdf.assoclink]} <br>
[highlight][srclink] <a title=\'Ver el Documento\' 
href=\\'_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile],[Source]\\'
 target=_blank><img border=0 width=20 height=20 
src=_httpprefix_/images/icono_pdf.gif></a> [/srclink][/highlight]
[Text]"
format SearchTypes "plain,form"
format DocumentImages true
collectionmeta .document:text [l=es] "text"
collectionmeta .document:Title [l=es] "titles"
collectionmeta .document:Source [l=es] "filenames"
collectionmeta .DATOS.AUTOR [l=es] "AUTOR"
collectionmeta .DATOS.IDIOMA [l=es] "IDIOMA"
collectionmeta .DATOS.TEMA [l=es] "TEMA"
collectionmeta .DATOS.TITULO [l=es] "TITULO"
collectionmeta 
.DATOS.AUTOR,DATOS.IDIOMA,DATOS.INSTITUCION,DATOS.TEMA,DATOS.TITULO [l=es] 
"TODO"
collectionmeta collectionname [l=es] "BIBLIOTECA AURELIO ESPINOZA"
collectionmeta collectionextra [l=es] "LIBROS"
collectionmeta iconcollection [l=es] "_httpprefix_/collect/bibliote/images/logo 
grande.JPG"
collectionmeta iconcollectionsmall [l=es] 
"_httpprefix_/collect/bibliote/images/logo peque.JPG" 




 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 




 



Date: Thu, 30 Apr 2009 14:18:30 -0400 



Subject: [greenstone_es] Re: Abrir un archivo pdf
From: felipevera@xxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx

Por ejemplo las etiquetas que están en negrita son los que definen el tipo de 
formato abrir:


[highlight][srclink]<a
href="_httpprefix_/collect/[ 

collection]/index/assoc/[assocfilepath]/[SourceFile]" target="_blank">
{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}</a>[/srclink][/highlight]


Cuando en vez de [/srclink] es [link] pues te abrira el html


Si no te resulta envia adjunto el archivo collect.cfg y lo veo



Saludos
Felipe Vera
www.prodigioconsultores.com
 

El 30 de abril de 2009 14:14, ADO solutions <adosolutions@xxxxxxxxxxx> escribió:

Me sigue abriendo el html, n q lugar defino l tipo d archivo a abrir. 


 
Alexandra

 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 




 



Date: Thu, 30 Apr 2009 13:41:23 -0400 



Subject: [greenstone_es] Re: Abrir un archivo pdf
From: felipevera@xxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx

Alexandra;


Prueba con el siguiente codigo [highlight][srclink]<a
href="_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]"
 target="_blank">
{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}</a>[/srclink][/highlight]



Saludos
Felipe Vera
www.prodigioconsultores.com

El 30 de abril de 2009 13:27, ADO solutions <adosolutions@xxxxxxxxxxx> escribió:

hola ya lo agregue en el document text pero igual me sigue abriendo un html y 
no el archivo pdf. Que puedo estar haciendo mal o q me falta agregar. 


 
Alexandra

 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11



Date: Thu, 30 Apr 2009 12:36:38 -0400 


Subject: [greenstone_es] Re: Abrir un archivo pdf
From: felipevera@xxxxxxxxx 



To: greenstone_es@xxxxxxxxxxxxx

Hola Alexandra;

Fijate en lo siguiente por favor:

1- Al encerrar la linea [srclink] <a title='Ver el Documento' 
href=\'_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/{Or}{[SourceFile],[Source]}\'
 target=_blank><img border=0 width=20 height=20 
src=_httpprefix_/images/icono_pdf.gif></a> [/srclink]

 Donde [srclink]  [/srclink] se llama al documento original en tu caso al PDF 
 
 En cambio si fuera  [link] y [/link] se llama a la versión html del documento 
procesado.



Saludos
Felipe Vera
www.prodigioconsultores.com




El 30 de abril de 2009 12:05, ADO solutions <adosolutions@xxxxxxxxxxx> escribió:


Muchas gracias x tu ayuda, ya coloque el codigo en el document text pero no me 
descarga el pdf. M abre toda la direccion correcta pero el problem es con la 
extension del archivo ya q busca un html y no un pdf. Y no se en q lugar se 
define  eso. 


 
Saludos
 
Alexandra
 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 




 



From: dspano@xxxxxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx
Subject: [greenstone_es] Re: Abrir un archivo pdf
Date: Wed, 29 Apr 2009 15:47:38 -0300 


 

Ese link ponelo en cada lugar en el que quieras que te aparezca la opción para 
ver el documento.
 
Puede ser en la SearchVlist, en la Vlist de los clasificadores o en el 
DocumentText.
 
Si en lugar de tener la leyenda “Ver PDF” querés poner un icono, entonces podes 
armar el enlace así:
 
<a title='Ver el Documento' 
href=\'_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/{Or}{[SourceFile],[Source]}\'
 target=_blank><img border=0 width=20 height=20 
src=_httpprefix_/images/icono_pdf.gif></a>
 
Saludos
 
DIego
 
 
 


De: greenstone_es-bounce@xxxxxxxxxxxxx 
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de ADO solutions
Enviado el: miércoles, 29 de abril de 2009 15:30
Para: grupo greenstone
Asunto: [greenstone_es] Re: Abrir un archivo pdf
 

Gracias x tu respuesta. pero disculpa tengo una duda en q lugar debo armar ese 
link. 
 
Alexandra
 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11 
 



From: dspano@xxxxxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx
Subject: [greenstone_es] Re: Abrir un archivo pdf
Date: Wed, 29 Apr 2009 15:03:00 -0300

Alexandra,
 
En vez de usar el [srclink]…[/srclink] armá el link a mano de esta manera:
 
<a title='Ver el Documento' 
href=\'_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/{Or}{[SourceFile],[Source]}\'
 target=_blank>Ver PDF</a>
 
La opción target=_blank te va a abrir una ventana nueva.
 
Saludos
 
Diego
 


De: greenstone_es-bounce@xxxxxxxxxxxxx 
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de ADO solutions
Enviado el: miércoles, 29 de abril de 2009 14:51
Para: grupo greenstone
Asunto: [greenstone_es] Re: Abrir un archivo pdf
 
Hola 
 
Gracias x la ayuda pero lo q en si quiero es q al hacerle click sobre el pdf m 
abra una nueva ventana y en esta se me descargue el archivo, y aun no lo eh 
conseguido. No se en q lugar debo modificar para q me haga eso. Agradeceria 
mucho su ayuda xq no soy muy buena en esto.
 
Saludos
 
Alexandra


 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 




 



From: dspano@xxxxxxxxxxxx
To: greenstone_es@xxxxxxxxxxxxx
Subject: [greenstone_es] Re: Abrir un archivo pdf
Date: Thu, 16 Apr 2009 16:53:39 -0300

Alexandra, tenes 2 opciones:
 
1-      Configuras el Acrobat Reader para que no te abra los pdf en el browser, 
con lo cual te los carga en el Acrobat Reader.
2-      Le agregás al main.cfg el siguiente parametro:
cgiarg          shortname=xx argdefault=1
con esto logras que siempre te abra los links en una página nueva.

Saludos
 
Diego Spano
 
 


De: greenstone_es-bounce@xxxxxxxxxxxxx 
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de ADO solutions
Enviado el: jueves, 16 de abril de 2009 15:28
Para: grupo greenstone
Asunto: [greenstone_es] Abrir un archivo pdf
 
 
HOLA
 
Tengo hace tiempo me ayudaron para poder descargar un pdf  con el siguiente 
codigo
 
format DocumentText " Descargar documento PDF 
{Or}{[parent(Top):pdf.assoclink],[pdf.assoclink]} <br>[Text]"
 
Esto me funciona muy bien pero se me abre el archivo pdf dentro de la misma 
pagina, y desee q se me abra el archivo pdf en una nueva pagina. Eh estado 
intentando realizardo pero no me funciona. 
De antemano gracias x la ayuda
 
Alexandra
 


 
ADO SOLUTIONS
Av. Jorge Washington E4-54 y Amazonas.
Telf  593 2 2232074 ext 34
       593 2 2220029
Fax  593 2 2220713 ext 11
 
 



Get news, entertainment and everything you care about at Live.com. Check it out!
 



Explore the seven wonders of the world Learn more!
 



Discover the new Windows Vista Learn more!
 



Discover the new Windows Vista Learn more!


-- 
Saludos
Felipe Vera





Get news, entertainment and everything you care about at Live.com. Check it out!


-- 
Saludos
Felipe Vera






Connect to the next generation of MSN Messenger  Get it now! 


-- 
Saludos
Felipe Vera





Connect to the next generation of MSN Messenger  Get it now! 


-- 
Saludos
Felipe Vera





Explore the seven wonders of the world Learn more!
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Other related posts: