Lexi – Plugin para WordPress

Lexi es un plugin que permite sindicar noticias por RSS en una página de WordPress. ¿Y para qué otro lector RSS si ya hay tantos? Para entender la justificación les contaré mi historia. Mi página visualiza la información de 4 fuentes de datos externas en la barra lateral. Las primeras versiones de la página implementaban los mecanismos de RSS disponibles en WP, por lo tanto su comportamiento era secuencial, es decir que al llegar a uno de estos puntos el sistema se detenía a esperar hasta que llegaran los datos desde el RSS para continuar con el proceso. Mientras no se presentaran problemas al leer los feeds la página se visualizaba sin contratiempos, pero cuando llegaba la hora de renovar el caché de los feeds el tiempo de espera se hacía aveces tan largo que llegaba a ser molesto, y si por casualidad se presentaba algún problema con un feed se truncaba el proceso y la págiba quedaba inconclusa. Al desarrollar el plugin para iRateMyDay implementé una solución con Ajax para que los datos fueran leídos una vez la página ya estuviera cargada en el browser, para así no sufrir del bloqueo molesto cada que se actualizan los datos desde iRateMyDay. Pues bien, apliqué ese mismo enfoque para Lexi y ahora la página no se detiene esperando a cargar los RSS.

Inicialmente Lexi era un widget para la barra lateral que ofrecía un mecanismo de configuración para definir los RSS, el título, el número de items a publicar, si se debía almacenará la información en caché y si se requiere o no publicar el contenido de las noticias. Una vez instalado solo era necesario agregar el widget a la barra y editar la lista de RSS con los mecanismos que el plugin ofrecía. Esta funcionalidad fue el principio de Lexi, y sigue siendo su característica más representativa. En la etiqueta ‘Referencias’ de la barra lateral de esta página se puede ver el widget activo.

Pero desde la versión 0.7 se aumentó la funcionalidad del plugin para permitir también la visualización de feeds en páginas o posts sin necesidad de declarar el RSS en el menu de configuración, dejando la lista de Lexi dedicada exclusivamente al manejo del widget

Para agregar un RSS se usará la siguiente etiqueta [lexi: configuration, rss, title, max_items]. La variable RSS identifica el link del feed, max_items declara el número máximo de elementos a publicar, title indica si se usará un título específico en vez del título específico de la fuente. El número de configuración se calcula de la siguiente forma:

  • Agregar 1 para almacenar en el caché.
  • Agregar 2 para mostrar contenido.
  • Agregar 4 mostrar el encabezado del título (este también es el enlace al canal).
  • Agregar 8 si desea que se abran los enlaces en una nueva página.
  • Agregar 16 si desea que no se muestre el ícono RSS (este también es el enlace a la fuente).
  • Agregar 32 si se desea mostrar el nombre del autor.
  • Agregar 64 si se desea mostrar la fecha.
  • Agregar 128 si se desea paginar. Cada grupo tendrá el número máximo de items que se defina en la configuración.
  • Agregar 256 para no mostrar el título de cada item.
  • Agregar 512 para mostrar el contenido como título d ela referencia. Útil si se emplea un plugin de terceros con capacidad de mostrar ventanas emergentes al pasar el puntero sobre un enlace.
  • Agregar 1024 para usar la función interna de truncado. Elimina imágenes, etiquetas HTML y trunca el contenido hasta mostrar los primeros párrafos con suficiente contenido.

Como ejemplo a continuación se publica el RSS de Calvin & Hobbes disponible en FeedBurner:

RSSCargando Fuente...

Para lograrlo he usado la siguiente etiqueta (sin espacios)

[lexi: 13, http://feeds2.feedburner.com/uclick/calvinandhobbes?format=xml, 5]

La etiqueta indica que se deben mostrar máximo 5 items, pero como el feed solo ofrece 3 entonces la lista se trunca cuando no hay más items por mostrar.

Estos mismos resultados se pueden obtener con la función lexiRSS(configuration, rss, title, max_items) al emplearse en los templates.

El plugin activa un botón en el editor de texto para facilitar la declaración de esta etiqueta.

¿Por qué existe la posibilidad de guardar en Caché un RSS? Muchas páginas bloquean los dominios que hacen muchas consultas, como una manera de prevenir un posible ataque. Si los feeds se actualizan con poca frecuencia es mejor almacenar los feeds en caché para evitar que una de estas páginas confunda las consultas con un ataque y para que el proceso de carga de los feeds se haga más rápido. Pero si los feeds se actualizan frecuentemente, se puede hacer unas pruebas sin caché para ver que tal va.

El plugin está bajo licencia GPL para que lo usen, abusen y descuarticen, solo recuerden dar los créditos del caso.

Ir a la página de descarga.

Internacionalización

Muchas gracias por su tiempo muchachos.

Características

  • Lector de RSS por AJAX.
  • Lexi está disponible en el servidor SVN de WordPress.
  • Botón para agregar elementos en lista a la página.
  • Botón para agregar elementos que no están en lista a la página.
  • Sistema de paginación por AJAX.
  • Genera código XHTML válido
  • Mecanismo de administración integrado a WordPress 2.7
  • Solución parcial de problemas de codificación (Español)
  • Esquema de menús ajustado a políticas de WordPress
  • Empla librería CURL por defecto, si no entonces emplea fopen
  • Permite almacenar en caché los datos del RSS.
  • Permite visualizar el contenido de cada item de RSS.
  • Permite indicar el número de items que visualizará por cada feed.

Plugins similares

  • firstRSS permite agregar feeds de un RSS en una página.
  • Agrr permite agregar feeds de un RSS en una página. Habilitado para emplearse como Widget.

145 comentarios para “Lexi – Plugin para WordPress”

  1. […] todos optimizan la plataforma, y otros sirven para el theme que elijamos, por ejemplo el plugin Lexi, una especie de consiguración general del blog, para definir los RSS, el título, la cantidad de […]

  2. […] Télécharger Page du plugin […]

  3. jockoe dice:

    Is any support offered for this plugin?

    • sebaxtian dice:

      Hello jockoe.

      Tell me what you need. I’m currently developing the next release, and any feedback would be wellcome.

    • jockoe dice:

      Hello sebaxtion,

      What is happening is that instead of the feed being displayed, I only get the words «Loading Feed». (but the feed never appears) You can see what I am talking about at my site at this URL… http://www.tracyandcarol.com/the_tracy_times/sports/detroit-lions/

      I also get it on this site, but only when I use the «Google Translate» function to display this site in English. When I view this site without translating I can see the «Calvin and Hobbes» feed and the «IRate» feed, but when I translate it I only see «Loading Feed».

      Lexi once worked on my site and it was perfect for my needs. My database got corrupted many months ago. I restored my backup copy, but I’ve not been able to get Lexi to work since.

    • jockoe dice:

      correction… «Lexi EVEN worked…»

    • sebaxtian dice:

      Hello jockoe. Thanks for answer.

      First part, some browsers has a security restriction with Ajax. A page can create a sincronous link ‘only’ to a URL in the same Domain the page is. In your site, Lexi is asking to ‘tracyandcarol.com’ but your site is in ‘www.tracyandcarol.com’. Check out this situation inside your wordpress General Configuration.

      Second part, I create Lexi to read RSS feeds ‘after’ the site has been rendered by WordPress, because some slow feeds takes a year to be read, that’s why it uses Ajax (Javascript). A translator let the javascript code as the original one, so it behaves the same. If the word to translate is in the HTML code when the page was rendered, the translator will translate it, but Lexi takes the feeds from another page, and the feeds words aren’t in the HTML code when the page was rendered.

      Hope it will help.

    • jockoe dice:

      Hi Sebaxtian,

      Thank you. Removing the «www» inside my wordpress General Configuration did the trick.

  4. Juanma dice:

    Hola Sebaxtian.

    Estoy intentando modificar lexi para que al utilizar la función lexi() muestre los feeds ordenados según la fecha de actualización. ¿Me echarías una mano?

    Saludos

  5. ricland dice:

    Loading Feed…mx_lexi782327739 = new minimax(‘http://booglenews.com/wp-content/plugins/lexi/content.php’, ‘lexi782327739’); mx_lexi782327739.post(‘url=http%3A%2F%2Fwww.averagebro.com%2Ffeeds%2Fposts%2Fdefault%3Falt%3Drss&title=Avg B&num=3&sc=1&cache=1’); Loading..

    lexi installed
    minimax installed
    simplepie installed

    • sebaxtian dice:

      Hello Ricland.

      As I can see in the HTML code from booglenews.com, your site cuts the ‘script tags’ in some parts. Minimax is a javascript function and it needs to be surrounded by ‘script tags’.

      Maybe I can fix this situation looking at the way you create the grid of feeds. Is this a plugin or a theme?

  6. jockoe dice:

    Hi sebaxtian,

    I’ve run into one more issue. I’m trying to add the feed from http://www.freep.com/apps/pbcs.dll/section?category=rss14&mime=xml. When I click on the link (when it is displayed on my page) it just refreshes my page. Do you know why this happens? (The link is «Freep» at http://www.tracyandcarol.com/the_tracy_times/sports/detroit-lions/lion-feeds/)

  7. Nacho dice:

    Hola Sebaxtian,

    Sábes si es posible controlar el ancho y alto de lás imágenes que aparecen al leer y mostar el rss de algún site?

    Gracias por tu trabajo!!

    • sebaxtian dice:

      Hola Nacho, gracias por usar Lexi.

      La única solución que veo para ese interrogante sería crear algo en el CSS del tema para que todas las imágenes que estén dentro del ‘div’ de Lexi modifique su tamaño específico. Habría que modificar el código del plugin para que los divs usaran una clase CSS común. Si puedes darme una mano con esa regla CSS te lo agradecería porque no soy muy conocedor del tema.

  8. jockoe dice:

    I would like to use quotes in the name of one of my feeds like this –> Tom «Killer» Kowalski …but it shows up like this –> Tom «Killer» Kowalski. How do I get rid of these slashes?

  9. jockoe dice:

    Hi sebaxtian,

    Do you take «feature requests»? If you do… My requestt is to be able to put the feeds into categories. That way a category could be added to a page instead of having to list each individual feed.

  10. […] plataforma y otros serán útil para agregar más opciones a nuestros themes, por ejemplo el plugin Lexi, un widget para la barra lateral que ofrece un mecanismo de configuración para definir los RSS, el […]

  11. jockoe dice:

    Hi sebaxtian,

    When I upgrade to version 0.7.95 I get the following error…

    Warning: ./cache/7a0c9151b09dc1850a620f67cfef9300.spc is not writeable in /var/www/the_tracy_times/wp-includes/class-simplepie.php on line 1773

    Everything works fine when I revert back to the previous version. I will leave the errors up on my site for you to see. They’re on the page at http://www.tracyandcarol.com/the_tracy_times/sports/detroit-lions/lions-feeds/.

    Thanks

  12. john dice:

    this seems like a nifty little plugin. however, i can not seem to get it to work. I just get the endless spinning ajax wheel and the feed(s) never load. checked my permissions on the cash file/folder. tried to re-install both plugins again. no loading. using short code. any suggestions?

  13. john dice:

    i don’t have anything live with the plugin right now cause of the error. i’ll post something in a new category so it wont be live. the domain is the same in general options. i did notice this javascript error. don’t know if this is helpful

    Error: uncaught exception: [Exception… «Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]» nsresult: «0x80040111 (NS_ERROR_NOT_AVAILABLE)» location: «JS frame :: http://radionx.com/wp-includes/js/tw-sack.js?ver=1.6.1 :: anonymous :: line 1″ data: no]

  14. john dice:

    i’ve tried it in my main browser firefox 351 os x. also on safari and opera. It works in your page in those browsers. I was able to troubleshoot the javascript error. traced it to referrer detector plugin while I was seeing if another plugin was causing the issue with lexi. thanks for your help. page coming in a bit.

    john

  15. john dice:

    i am really thankful for the time you are/have taken to try and figure this out. per your not on the test page…

    here’s the url. i’ve tried it with 3 different url’s

    http://www.radioink.com/sectionalRSS.aspx?id=24698

    it is indeed an active feed.

  16. john dice:

    the code looks like this, of course, with the brackets…

    lexi:13,http://www.radioink.com/sectionalRSS.aspx?id=24698,5

  17. john dice:

    put in a couple of more links. still no go

  18. john dice:

    i’ve gone through all the plugins and it appears its not a plugin conflict. one new thing. I’ve also just moved to a new host and thought I’d give lexi one more go. I’m now throwing this error.

    Warning: file_get_contents(http:) [function.file-get-contents]: failed to open stream: No such file or directory in /nfs/c05/xxx/xxx/xxxxx/domains/radionx.com/html/wp-includes/class-simplepie.php on line 7790

  19. ElChAcAl dice:

    Hola aqui dejo un aporte de un plugin nuevo que encontre para fidelizar los lectores de feedburner aqui les dejo la url http://wordpress.org/extend/plugins/wp-emailfeedburnerpop/

  20. Martin dice:

    Thank you for the great work. I wonder if you could help. I have the Lexi plugin installed and since installing the e-commerce plugin I am getting the following error on the front page where I have the RSS feed displayed.

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/martin/www/GEME/wp-content/plugins/lexi/content.php:4) in /home/martin/www/GEME/wp-content/plugins/wp-e-commerce/merchants/paypal_certified.php on line 740

    • sebaxtian dice:

      Thanks Martin, and sorry if i’m late to answer. I’m traveling now and i’ll be in Manizales in 3 weeks. I’ll fix it as soon as I arrive at home.

      Thanks for the info.

      By the way, which e-commerce plugin do you use?

  21. sebastien | french dice:

    Hi Sebaxtian, and thx for this great plugin !
    I have a problem in wp2.8.4 :
    In my page, if i check «Use the title from the feed» i have this error message : Warning: file_get_contents(http:) [function.file-get-contents]: failed to open stream: No such file or directory in /homez.144/auxaneco/www/V2/wp-includes/class-simplepie.php on line 7790

    And if i «Use a specific title», it’s OK but there is no title in my page.

    In the widget there is no name of feed.
    There is title of posts but no title of feed.

    Do you know where is the problem ?

  22. Lionel dice:

    Hi Sebaxtian,
    I use your Lexi plugin. It’s ok but I am limited to 17 rss. Is this normal or can we bypass this limitation?
    Thanks, Lionel

  23. Javier dice:

    Hola Sebastián; acabo de actualizar el Lexi (autoactualización del 18 de diciembre) y de repente me aparece en el widget en la página donde lo tengo instalado este mensaje: Warning: ./cache/4f6760d58f89e89a5c00a01a9a079f1c.spc is not writeable in /home/chento/vicencianos.org/web/wp-includes/class-simplepie.php on line 1776
    Antes no aparecía. Se ha actualizado el minimax también hoy. Uso Wordprefect en su última versión 2.8.6

    Saludos y gracias.

    • sebaxtian dice:

      Hola Javier. Lexi está en este preciso instante en una nueva fase de desarrollo. La situación a la que te refieres se solucionará en la siguiente versión que estoy publicando ahora mismo.

      Cualquier inquietud me avisas.

  24. Eric dice:

    Lexi apparently wasn’t reactivated after a WordPress upgrade some time ago. I just tried to re-activate it but every feed comes up blank (Loading feed, then nothing). It used to work perfectly, now it doesn’t work at all.

    No Javascript error.
    Using WordPress 2.9 and the latest Minimax/Lexi.
    Using wp-cache (but that shouldn’t matter).
    WordPress URL and blog URL are identical in General preferences.

    Any pointers?

    • sebaxtian dice:

      Hi Eric.

      Would you please send me an URL where I can see this situation?

    • Eric dice:

      It turns out the plugin never worked. It gave me that impression at the beginning, because I uploaded a working local installation onto the website, which loaded up the cache obtained locally. It looks like GoDaddy’s the culprit, and does not allow the server to connect to an external feed. The built-in WordPress RSS feed widget doesn’t work either.

    • sebaxtian dice:

      Ok Eric, but lets try to find an answer.

      First, create a lexi feed without cache. Does it work? If it works, look if you have the directory ‘wp-content/cache/lexi’, if it does not exist, create it with write permissions and try again but now with cache.

      Tell me if this helps.

    • Eric dice:

      Ok, well, I already did every conceivable test the other day, but here goes again:

      Installed and activated Minimax 0.3.
      Installed and activated Lexi 0.8.
      Noticed that the three RSS feeds are still present in Tools / Lexi, even though Lexi was completely uninstalled…
      Turned off cache for these three pre-existing feeds.
      Added Lexi widget to sidebar -> feed refreshes, then no entries shown.
      Added new feed, no cache, cleared wp-cache -> the 4 feeds refresh, no entries shown.
      Deleted all 4 feeds, removed Lexi widget, cleared wp-cache to prevent artifacts on pages.
      Added new feed, no cache, added Lexi widget -> feed refreshes, no entries shown.
      Turned off wp-cache, added new feed, no cache -> feed refreshes, no entries shown.

      All feeds used are valid and well-formed.

      Like I said, it’s just not Lexi’s fault. It looks like a proxy is needed again (see http://www.gozipline.com/46,usingcurlongodaddyhosting), which would have to be patched for the existing SimplePie code (it’s not there yet, coming up in version 1.3).

    • sebaxtian dice:

      Thanks Eric.

      Lexi uses the library in WP, so we have to wait. But I promise to make a release using proxy when WP upgrade to simplepie 1.3.

    • Eric dice:

      I uploaded an older version of class-simplepie.php (1.1.3), and it works fine (without cache) with that version. Current WordPress (2.9) uses SimplePie 1.2, with which Lexi does not work on GoDaddy shared servers. This «solution» will do for me for now.

      Thanks for your time and support!

  25. nicolas dice:

    hi cool plug in, but i want to use it to push my delicious bookmark, i i can’t show more than 10 items via the plug admin interface, i there a solution to show 50 item?

  26. Juan dice:

    Hola Sebastian. Mágnifico trabajo, felicidades.
    He usado tu plugin para mostrar los últimos temas de un foro phpbb con atom feeds en el sidebar derecho de wordpress pero al pulsar no me lleva al post del foro sino a al página web de wordpress. Alguna sugerencia??

    Esta es la web del foro:
    http://clubcastingandalucia.es/foro/index.php
    La del feed principal:
    http://clubcastingandalucia.es/foro/feed.php
    Y la de wordpress:
    http://clubcastingandalucia.es/
    Muchas gracias.

    • sebaxtian dice:

      Hola Juan.

      Lexi está ahora pasando por un proceso de desarrollo intensivo, así que algunos errores se pueden estar presentando por el paso a la nueva versión.

      Hice algunas pruebas con el feed del foro que me indicaste y funcionó sin problemas en mi página de pruebas. Es posible que debas volver a recrear el widget para la nueva versión (0.9) publicada hace unos minutos. Y no olvides que puede estar usando un caché con errores así que mientras haces las pruebas deberás indicar que no use el caché.

  27. Juan dice:

    Gracias por tu rápida respuesta. He desactivado y borrado la versión anterior y he subido e instalado la nueva, pero el sistema interpreta que sólo esta desactivada, no me da la opción de volverla a instalar, y si la activo no ocurre nada: Ni aparece la utilidad en herramientas ni el widget. Debe quedar algún resto en alguna parte de la instalación anterior, aunque no debería pues esta todo borrado y vuelto a subir por ftp.
    Muchas gracias.

  28. Tony dice:

    I updated 6 plugins this morning on my site, and something caused it to show the WSOD (White Screen Of Death).

    I renamed the Plugins folder and managed to get the site to load, it deactivated all the plugins.

    When I re-activated them, all were ok except Lexi, which shows the following error when I try to activate it:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /htdocs/_delovesto/htdocs/wp-content/plugins/lexi/legacy.php on line 167

    I tried to add minimax and Lexi to another site I have which is very similar, and it gave the same error when it tried to activate the plugin.

    I hope this is something easy to fix – Lexi is a very nice plugin.

    Thanks

  29. nicolas dice:

    Hi sebastian,

    i update the plug in but :
    1/ i ‘ve nothing in the wordpress tools menu (not Lexi for configure)
    2/ i integrated the new TAG [lexi:16,http://feeds.delicious.com/v2/rss/nlaustriat?count=50,title,50%5D and deleted the old one [lexi]
    but nothing appears on screen (but it seems ok on the source code…

    here my page, please help,

    http://www.diplotomatic.com/bookmarks/

    NB : thanks for the RSS logo mask

    cheers!

    • sebaxtian dice:

      Hi Nicolas.

      The new aproach for lexi deletes the list feature because it can now add multiple widgets in the sidebar. Sorry with the list.

      Aparently Lexi hasn’t created the cache directory in your site. Deactivate and reactivate and look if there isn’t an error.

      If still the problem, manually create it with your ftp in wp-content/cache/lexi.

      Tell me how it goes.

    • nicolas dice:

      ok i found it’s a war with a plugin: Automatic SEO links because i will put an automatic link on the word «RSS» and this word is in my specific Feed. i delete the rules and it works.

      your works is perfect i put a 5 star in the codex…

      peace,

      nicolas.

    • sebaxtian dice:

      Great to hear it works again.

      Thanks Nicolas.

      Big regards.

  30. yoda dice:

    Sebaxtian, tu plugin es magnífico. Lo único que me gustaría saber es si hay algún modo de controlar la cantidad de texto (he visto que tú lo has hecho con los feeds de la columna derecha).

    Aparte de eso, para ser el mejor plugin del universo sólo le falta la opción de activar fecha y hora y autor (cómo los gadgets de blogspot).

    Por cierto, he visto que el plugin tiene cinco estrellas basadas en cinco votos. Me gustaría darte el sexto voto, pero no sé cómo hacerlo.

    Saludos.

    Yoda.

    • sebaxtian dice:

      Hola Yoda y gracias por mirar el plugin.

      Sobre la cantidad de texto, siento responderte que no es posible desde Lexi. El texto del feed de la columna derecha lo escribo personalmente en delicious y por eso parece que el plugin controlara la cantidad de texto. Se me ocurre que podrías intentar haciendo un mashup por Yahoo Pipes que corte el contenido de los feeds y usar el rss resultante…. es una idea.

      Sobre la fecha y autor de los feeds, fue una característica disponible en las primeras versiones y luego la deseché porque no siempre funcionaba. Pero ahora que uso simplepie para los feeds tal vez sería interesante darle una nueva oportunidad. Para mañana estará la nueva versión con esos detalles.

      Gracias por preguntar por la calificación en WordPress. Para poder añadir tu voto deberás registrarte primero en la página de WordPress.

      Sit vis vobiscum (Que la fuerza esté contigo)

  31. yoda dice:

    Las modificaciones funcionan a la perfección y la herramienta en sí es maravillosa para crear páginas y entradas basadas en contenido de fuentes RSS.

    Le echaré un vistazo a lo de Yahoo Pipes.

    Sit vis vobiscum.

    P.D. Me he registrado en wordpress, pero no encuentro el enlace para dar mi voto. Y la verdad es que me encantaría hacerlo, así que si tú o alguien me puede facilitar el enlace estaré encantado.

  32. af3 dice:

    Hi, very nice plugin — i’ve just installed it today and it works great!

    I’d like to show all the rss with pagination, say 5 or 10 rss per page? How to do this?

    Thanks

  33. Zoran dice:

    Sebaxtian,

    Thanks for this plugin. Please, tell me is this the right way to implemet it in template page?

    I cant make it to work…
    p.s.
    It works fine in the sidebar.

    lexi(‘37′,’http://www.rts.rs/page/stories/sr/rss.html’,’probni’,’5′);

    • sebaxtian dice:

      Hi Zoran and thanks for using Lexi.

      You have just one mistake in your code. The name of the function is lexiRss() not lexi(). And I suggest you to write the numbers without quotation marks.

      Tell me how it goes.

  34. Pontus dice:

    Hi Sebaxtian!

    I’m using your RSS reader on a lot of pages and it is great!

    However, on one of my pages I’m trying to fetch this RSS: http://www.soling.com/rss/rss.xml – Everything looks great but the item title links is using encoded ampersands (& a m p 😉 and they do not get replaced by «&» which make the link not working. Is this a bug in your plugin or am I doing something wrong here? The item title links works great in SimplePie validator and in my Google Reader.

    Hugs
    Pontus

  35. Hola, tuve un inconveniente con la última actualización de Lexi. Ahora me aparece este mensaje «Only Lexi can use this link» sin haber modificado nada ¿alguna idea de cómo arreglarlo?

    Muchas gracias!

    • sebaxtian dice:

      Hola Sergio.

      Hice algunos ajustes a Lexi para mejorar el rendimiento, pero el efecto ‘secundario’ en algunas páginas es que mientras se crea el nuevo caché se muestra ese mensaje.

      ¿Puedes confirmarme si ya funciona correctamente el plugin?

  36. Antares dice:

    Sebaxtian, he instalado las últimas versiones de los plugin minimax y lexi. Luego los he activado y tanto en una página como en una entrada he puesto el código que indicas. El resultado ha sido ver ese mismo código en la página y en la entrada, es decir, no ha sido interpretado y no se ha mostrado el contenido del feed. ¿Me ha faltado hacer algo?

    Gracias por este y los demás plugins, ¡son excelentes!

    Saludos

    • Antares dice:

      Era tan simple como eliminar el espacio en blanco despues de la palabra lexi :-0

      Una vez hecho, el feed, el de tu blog, no se carga y muestra lo siguiente:

      file_get_contents(//www.sebaxtian.com/feed) [function.file-get-contents]: failed to open stream: No such file or directory in /wp-includes/class-feed.php on line 97

      ¿Qué puedo hacer para solucionarlo?.

      Gracias

    • sebaxtian dice:

      Hola Antares y gracias por usar Lexi.

      ¿Podrías darme un enlace para ver esta situación? Según tu último reporte es posible que el plugin esté buscando la librería de fuentes RSS de wordpress en el lugar equivocado así que me gustaría ver los directorios que declara tu sitio.

  37. ThanOS dice:

    Hola sebaxtian y gracias por un plugin magnifico!

    I have been using lexi for quite some time to «aggregate» multiple rss feeds from different news sources on our page and i find this very useful.
    I have now been asked to make up a frontpage solely using rss feeds from selected sites. Which is a piece of cake with Lexi!
    Still we need links to the source sites to be opened in a new window (thanks for adding the $target option) and in a redirect page saying that you are no longer in our domain and you are actually being redirected to the source site. (sort of notice and disclaimer at the same time!)
    I have managed to manually edit the lexi.php page to hardcode this before the $url and $link variable and it works fine, so i was considering this could be a nice addition for the next version of lexi. A parameter could be defined so as all displayed external links open through a «redirect page»…
    Do you think this can be added as a normal feature of the plugin??

    Regards! Thanks for your great work!

    • sebaxtian dice:

      Hi ThanOS and thanks for using Lexi.

      Can you send me a link to see it working?

      Send your patch (or complete modified plugin) to baxtian.echeverry at gmail dot com to add it as a normal feature.

      Thanks.

  38. xiabolai dice:

    Hi,

    Love the Lexi plugin and it works great. I have a question. Is there a way for me to add a feature so that when a user rolls over the feed title link that it displays a tooltip with the feed article description? Similar to this: http://www.alltop.com. Go there and place your mouse over the feed title links and you’ll see a tooltip with the feed title and description or first paragraph…that is what I want to do. Is it possible with the Lexi plugin?

    Thanks!

    • sebaxtian dice:

      Hi Xiabolai and thanks for use Lexi.

      Your idea is quite simple to implement in Lexi, but I want to make this plugin as simple as possible. Therefor add this special feature will add complexity both into code and configuration forms.

      But Lexi formats the text using other plugins. So, if you found one plugin that do what you want, tell me about it and I will integrate it with Lexi to use the plugin automatically when it found this other plugin installed.

      • xiabolai dice:

        Hi,

        Thanks for answering me. Since I’m not a programmer, I’m really not sure exactly what you mean. I checked the wordpress plugins and there are a number that show tooltips located at http://wordpress.org/extend/plugins/search.php?q=tooltip&sort=

        I don’t know which one is the best to use. Ideally, when user rolls over the feed title link the tooltip would show the title and brief description similar to this:http://www.alltop.com

        The tooltip should be configurable so the admin could change the look to fit the theme being used.

        To take it a step further, it would be REALLY cool if the user could click on the feed title and be able to read the entire article in a dhtml popover or in lightbox without having to even leave the page, but that is probably very complicated.

        Does this answer your question? Is it enough for me to provide the link to the existing wordpress tooltip plugins?

        Thanks!

        • sebaxtian dice:

          Hi.

          The idea is to find some plugin that formats the text as you want, then I will integrate it into Lexi and make it capable to find and use the functions from the other plugin to format the text, instead creating new functions.

          Tell me which wordress plugin do you want me to integrate with Lexi.

  39. xiabolai dice:

    Ok. This is the wordpress plugin I would suggest: http://wordpress.org/extend/plugins/jr-qtip-for-wordpress/

    It’s based on this jQuery tooltip plugin called qtip. As you can see from these demos (http://craigsworks.com/projects/qtip/demos/) it’s VERY powerful and cool. As I had asked earlier, it even allows loading full web pages in a modal window, which would be GREAT if I could do that when clicking on a an rss feed title.

    If not, what I would like to see is using this wordpress plugin so that when rolling over a title in a Lexi rss feed the user could see the article preview and maybe even the article image.

    Is this what you were looking for?

    Thanks so much for the help…can’t wait to see what you come up with.

    • xiabolai dice:

      Hi Sebaxtian,

      Have another question for you about the ability to «preview» a feed from within Lexi. I asked about a tooltip, but also wonder if something else is possible.

      Go to this site http://www.macobserver.com/ and click on one of the news fieed links. You’ll see that it drops down and gives you a preview of the news feed article…is this possible for Lexi? It would be even better than a tooltip!

      Thanks!

    • sebaxtian dice:

      Hi Xiabolai.

      If you set to not show the content it will use jr-qtip to display the content.

      About the macobserver idea, if you find a plugin that implements this idea tell me about it and I will integrate it with Lexi.

  40. xiabolai dice:

    Hi,

    Thanks for trying this, but it doesn’t seem to work for me. Is there anything else I need to do? I have the latest version of Lexi and jr-qtip, and set Lexi to «not show» content. But when I activated the jr-qtip plugin it broke Lexi.

    On some posts, the rss feeds did not show up at all. On other posts, they were half titles and half-content. On other posts, there was some description on rollover but it was mostly a lot of HTML code and it was NOT using jr-qtip but some other default operating system tooltip.

    Any ideas?

    Thanks!

  41. xiabolai dice:

    Ok, I see. I really appreciate you seeing if you can make this work. Thanks!

  42. xiabolai dice:

    Hi. Thanks for taking a look at it. Unfortunately, it’s still not working for me. It seems to do a little something different on each page. You can see what’s happening here: http://tech.kurrentli.com/ Just click around to a few different pages and you’ll see what I mean.

  43. xiabolai dice:

    Hi, I posted earlier that it’s still not working. I think maybe it’s conflicting with something else on my page?

    I was wondering, instead of the tooltip to display a feed description, can you add an option in Lexi to show the description below the feed title? Most rss plugins give you this option, but you only give the option to show just the title or the whole article.

    Thanks!

    • sebaxtian dice:

      You just give me a great idea.

      New release, requires to add 512 to the configure number to put the content (now correctly filtered and modified) in the href title.

      Hope this will solve your bug.

      • xiabolai dice:

        Hey! This is great, it’s working now!

        But I also have a question bout the formatting. On some links, it’s showing the whole article, especially on this page: http://tech.kurrentli.com/gaming-news-videos-and-tweets/

        Rollover some of the links and you’ll see that some of the feed descriptions go below the fold and are not visible. If you try to take the cursor off the link to scroll down, the preview goes away. Would be a bad user experience.

        I love that it’s showing images in the tooltip, but is there a way to limit the size of the picture and the length of the text so that it is not so long?

        Thanks!

        • sebaxtian dice:

          Glad to hear it works.

          About the size of the text, I suggest you to use a Mashup tool to format the comments. Take a look into Yahoo Pipes to set the text and image size. Is a powerful tool and a lot of Lexi users use it.

          If you think another tooltip library fits better into your requirements just tell me about it.

          Big regards.

  44. xiabolai dice:

    Ok, I’ll try Yahoo Pipes for the text and image formatting. I didn’t know that’s how to control it in the tooltip, I thought that was done within Lexi or the tooltip.

    Thanks again for a great plugin and support.

    • sebaxtian dice:

      Thanks Xiabolai. My idea with Lexi is to generate one app to read RSS feeds for WP like the Unix style: «simple apps doing simple things, and integrate them all to get complex features».

      For sure another developer or myself can create a function to format the text in the Feed, but use a mashup (like Yahoo Pipes) gives you such amount of features that create a simple function to format the text instead use a Mashup is like recreate the wheel.

      Don’t hesitate to ask if you have another idea.

      • xiabolai dice:

        Thanks again for responding.

        I do have one other suggestion that seems to be a standard feature of all rss plugins, and that is the ability to show a truncated description. Currently, you provide options to show just the title or the whole content, but I really do think the ability to show JUST the description is a necessary feature.

        Thanks!

        • sebaxtian dice:

          Lexi (and mostly all WP rss plugins) use SimplePie to get the data from any RSS feed. Lexi uses the get_description() function to get the summary of the feed (if it has one) or the entire data if it doesn’t have a summary.

          Create a function that truncate feeds as any Lexi user wants is mostly impossible. Thats why I recommend use a mashup instead create my own function.

          But, as always, if you found a function or a plugin that can do what you need, just tell me about it and I will hack Lexi to use it.

          Big regards.

  45. xiabolai dice:

    Thanks for the explanation. Unfortunately, I am not able to get the Yahoo Pipes truncating feature to show up in Lexi.

    I was wondering, can you incorporate this plugin’s functionality into Lexi? http://wordpress.org/extend/plugins/omnifeed/

    If you read the description, you’ll see that this plugin gives you the option to truncate the title and description based on a numeric value.

    REALLY appreciate your willingness to try this out. I think it would be a great addition to the flexibility of Lexi.

    Regards

    • sebaxtian dice:

      I have analyzed the plugin you recommend and it just truncate the text. This is not a good practice when you work with HTML code. So, I was thinking in a solution to this situation and maybe there is one function we can use.

      This is the idea: add a filter to ‘delete’ any image, header tag (title subtitle and so) and any html tag (links, pre, etc). Then truncate the text to only show the first paragraph (will be truncated when found a /p or a new line) and put a ‘more’ link at the end.

      The configuration form will change and a selector will be added:

      Show content:
      a) Do not show
      b) Show entire content
      c) Show truncated content
      d) Truncated comment as rollover title

      Tell me if you think this will help.

      • xiabolai dice:

        Hi, thanks for looking at the functionality of that plugin. Yes, I think your idea to add a feature to «show truncated content» is good.

        My only thought about «showing only first paragraph» is that each feed will look different. For example, what if the first paragraph in one feed is very long, and in another feed the first paragraph is only a sentence.

        That’s why I was wondering if you could either:

        1) give option to select the number of characters to show in the truncated content option, or

        2) you could pick a character number to show, like maybe you could just by default show the first 200 or 300 hundred characters in the truncated content

        This way, all of the truncated feed content will have the same character count and look neater.

        Is this possible?

        • sebaxtian dice:

          Hi Xiabolai.

          New release candidate. Take a look and tell me if this is what you require. I think is the closest I can reach to your idea without having to modify deeply the code.

          There is a way to define a ‘truncate size’ value. See Lexi’s FAQ in the wordpress page.

  46. xiabolai dice:

    Hi Sebaxtian,

    That’s excellent! Exactly what I was thinking and a great addition to the functionality of Lexi. Really appreciate you trying this out. Hopefully you also think it’s good.

    Now I’m going to experiment some with it.

    Thanks!

  47. Hi,

    for information there is a bug if in the feed custom title we insert «http://www.» to promote a website name.

    The impact is that the title disapera and the CSS explose.

    +

    • sebaxtian dice:

      Hi,

      I tested in my local site with an URL in the title and everything goes ok. Maybe there is something i’m not doing.

      Can you send me please a link to a page where you have this situation?

    • peter dice:

      Hi Sebaxtian,

      I’ve used your plugin for a while and it perfectly fits my needs. Thank you for this great tool!

      However as my page went live I experienced a strange issue what I tried to figure out but to no avail. Here’s what happens: got a sidebar with three instances of Lexi (feeds are OK, tested with multiple readers) and one page where I used the template code snippet directly in HTML (feeds are tested and OK again). Feeds in sidebar displayed correctly until I went to check the page. After this page got loaded once none of the lexi feeds are displayed only the Loading Feed… with the rotating symbol for a while. And Lexi titles are pointing to site’s own URL.

      This only happens on the live server and I have no problem on localhost.

      Checked WP’s url settings and they are both the same with www; reinstalled Lexi but did not help; tried with builtin RSS widget but same happens in the sidebar showing no feed and title pointing to own url.

      Here’s my site: http://www.peterthepipeater.com/

      and the snippet I used in the code:

      It seems to me WP’s cache gets corrupted somehow but I could not find any related directory on the server. Any suggestion?

      Your help is greatly appreciated.

  48. peter dice:

    ooops my msg went into the prev thread for some reason. sorry 🙂

    and HTML codes got stripped. here they are:
    lexiRSS( 207 , «http://www.xe.com/news/rss.xml» , «XE Forex News» , 12)
    lexiRSS( 207, «http://www.rttnews.com/rss/EconomicNews.xml» , «RTT Economic News» , 10)

    • sebaxtian dice:

      Hi Peter, and thanks for using Lexi.

      This situation happens when the server doesn’t allow to ask data outside the domain. Use the RSS widget (the one that comes with WP) to check if this is the situation.

      If even the RSS Widget can’t display the links, I suggest you to ask to your server administrator about the situation.

      • peter dice:

        Thanks for the quick reply. Seems the issue is with the server as my WP dashboard started producing timeout errors with RSS feeds. Sent an email to my hosting support…

  49. ARS Legal dice:

    Magnifico el plugin, de los buenos, buenos.
    Se nota que eres buen programador, dominando la filosofia y la tecnica.
    Un 10.

    Saludos

  50. abaweb dice:

    Hello,

    i’m just going to test Lexi ans i’ve 2 questions…

    – pagination problem :
    i’ve the correct page links «1-2-3» at the bottom of the page but when i click to move page… nothing !? I remain on the 1st page (i use WP 3.0.1 with Suffusion theme and SimplePie Core/SimplePie Plugin for WordPress activated plugins)
    – media :
    is (or will…) it be possible to display media joined with post (particularly images) ?

    Thanks for this plugin which looks nice (and compatible with Yahoo Pipes !).

    • sebaxtian dice:

      Hello,

      1. Looks like an ajax (javascript) problem. Can you write a link where I can see this situation? Deactivate the simplepie plugin, because Wp 3.0.1 has the SimplePie core enabled by default.

      2. If the feeds has images or video, Lexi displays them. http://www.sebaxtian.com/archives/566

      If you have a particular feed where you have this issue, wrote me a letter and I’ll try to figure where the problem is.

      Regards

  51. Jason dice:

    Is there a way to extract a thumbnail for feed items? The RSS feeds that I read are News articles from a news site, but I don’t want to show only text. I also want to show a image thumbnail. Is this even possible?

  52. Chico poco dice:

    Ola chico ! I gotta say well done ! it’s really useful ! I love this plugin ! but there is a question ! I need to implement the RSS icon in tinyMCE in frnt end too (where my customers post their own ) my visitors can post ads how can I implement this great RSS reader into my theme ?

    • sebaxtian dice:

      Hi Chico. Apparently the API to add a button in the quickpress widget isn’t well documented. At this moment I can’t do anything.

      About your second request, how does a visitor in your site add a post?

  53. Tony dice:

    Hi Sebaxtian,

    Lexi is wonderful and I have been using it for a while.

    I write on Associated Content, and created a feed there to select some of my articles, but it will not display on my site, although the feed will display when the url is typed into the browser.

    The url is http://www.associatedcontent.com/rss/search_article_news+from+a+weird+world_______,,.xml and as you can see it contains commas.

    My page displays just the coded text for Lexi rather than the feed, I assume because of the commas. I tried to include the feed in single and double quotes, but it still would not work.

    Do you have any suggestions on how I can make this work please?

    Thanks in advance.
    Tony Payne

  54. Tony dice:

    Problem with my feed containing commas – I fixed it!

    I replaced the commas by «%2C» and that worked.

  55. Tony dice:

    Thanks Sebastian,
    You are always quick to respond, professional, and incredibly helpful.
    Don’t forget to take time off over Christmas/Navidad 🙂
    Tony

  56. Teucca dice:

    Hi Sebaxtian, I use this great plugin on a News Hedlines site, and it works just as it should.
    But, there is some pages with many sources from Yahoo pipes, and these loads wery slowly,
    Reloding the pages gives the output.
    Is there anyting i can do to increase the lexi “Loading Feed” time with 2-3 seconds.
    http://latest-global-news-today.com/

    THX
    Teucca

  57. Teucca dice:

    Hi Sebaxtian, I use this great plugin on a News Hedlines site, and it works just as it should.
    But, there is some pages with many sources from Yahoo pipes, and these loads wery slowly,
    Reloading the pages gives the output.
    Is there anyting i can do to increase the lexi “Loading Feed” time with 2-3 seconds.
    http://latest-global-news-today.com/

    THX
    Teucca

  58. I needed to send you this bit of word just to thank you very much once again for your lovely solutions you’ve provided in this article.

  59. new song dice:

    first of all let us say thank you for your plugin, it is great

    our mission website has many individuals who come and visit, and like to blog themselves about the trip etc…they all have their own blogs, some that are wordpress and others that arent

    we have been using the lexi plugin for about 2 months, it is great to load the 5 most recent posts etc, as you can see on this page (as well as the other 5 blog pages)

    http://newsongnica.org/blogs/diegoblog/

    we are now setting up our site, as of thursday, to receive authorize.net donations…for recurring donations we must install https, we have a certificate etc…but u will see in the screenshot that the https gets a warning sign (yellow triangle) on this page:

    https://www.newsongnica.org/donate/recurring/

    if i deactivate the plugin, the https is green with a closed lock, and secure for donors…but we want to use the plugin for the blog pages…what we dont get is what on the donate page, causes this error to come up from the lexi plugin, because the only pages we are using the lexi plugin is the blog pages…what we dont understand is that, those feeds only work on the blog page…no where in any code or anything on donate pages

    here is a screenshot that let us know the lexi plugin was the reason for the https security
    can you please give us some advice, has anyone else asked about this, is there a resolve

    http://screencast.com/t/2jLHAtC3

    or do you know a good rss feed plugin that works with forced https??

    blessings
    NSMN

    • sebaxtian dice:

      Hi New Song. Thanks for using lexi.

      Lexi is an old plugin, I created it years ago, and it has some ‘mistakes’.

      I think there is a way to solve the bug you have reported, but I can’t test it because I don’t have an https key (a default configuration in my server with https would give the error message always).

      The only way to test it is to send you the modified file and test it.

      If you want to help me with this I would apreciate your help.

      Thanks in advance.

Escriba su comentario