[greenstone_es] Re: Abrir un archivo pdf

  • From: ADO solutions <adosolutions@xxxxxxxxxxx>
  • To: grupo greenstone <greenstone_es@xxxxxxxxxxxxx>
  • Date: Thu, 30 Apr 2009 12:27:04 -0500

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


_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

Other related posts: