[greenstone_es] Re: Abrir un archivo pdf

  • From: Felipe Vera <felipevera@xxxxxxxxx>
  • To: greenstone_es@xxxxxxxxxxxxx
  • Date: Mon, 4 May 2009 13:37:23 -0400

Hola Alexandra,


Al ver tu collect.cfg al parecer el problema lo tienes en la cadena de
formato DocumenText (desde esta quieres dar acceso al html y con icono
acceso al pdf), en esta cadena hay una variable [SourceFile] la cual debe
quedar solo [File] ya que el elemento Source solo se agrega desde la versión
2.81 y no en la 2.80.

Si el problema persiste, utiliza la cadena de formato que te envié
anteriormente


Saludos
Felipe Vera
www.prodigioconsultores.com



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

>  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! <http://www.live.com/getstarted.aspx>
>
>  ------------------------------
> Explore the seven wonders of the world Learn 
> more!<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>
>
>  ------------------------------
> Discover the new Windows Vista Learn 
> more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
> ------------------------------
> Discover the new Windows Vista Learn 
> more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
>
>
>
> --
> Saludos
> Felipe Vera
>
>
> ------------------------------
> Get news, entertainment and everything you care about at Live.com. Check
> it out! <http://www.live.com/getstarted.aspx>
>
>
>
>
> --
> Saludos
> Felipe Vera
>
>
>  ------------------------------
> Connect to the next generation of MSN Messenger  Get it now!
> <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
>
>
>
>
> --
> Saludos
> Felipe Vera
>
>
> ------------------------------
> Connect to the next generation of MSN Messenger  Get it now!
> <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
>
>
>
>
> --
> Saludos
> Felipe Vera
>
>
> ------------------------------
> Explore the seven wonders of the world Learn 
> more!<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>
>



-- 
Saludos
Felipe Vera

Other related posts: