Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bkmacdaddy

    (@bkmacdaddy)

    Unfortunately the RSS feed from Pinterest does not give the full title, so it is not possible.

    But the RSS feed gives a description. Is there a way to take this instead? ?? Thank you in advance!

    Thread Starter aly22

    (@aly22)

    Great suggestion, stephanmonecke! I would absolutely appreciate that capability.

    Hi all – as stephanmonecke mentions, the full description *is* available in the RSS feed but it takes a little ‘massaging’ to get it. I was able to get modify the plugin to make this work. While I was doing it I also identified a few other improvements to the plugin. I’ve made the fully modified plugin available for download but also include instructions on fixing only the description text length discussed in this thread.

    bkmacdaddy, feel free to incorporate this as well as the other changes I’ve made into your plugin. I’ve used comments in the code liberally so you can see what I’ve done. I don’t claim to be a php guru so perhaps there are more elegant solutions for some of the things I’ve done. Other changes I made were:

    – Ability to set the description length (now that the full description is being retrieved)
    – Switched from jQuery resizing of thumbs to use of TimThumb (perhaps a controversial point but a personal preference for me)
    – Ability to switch between normal list display of images to ‘compressed’, basically floating the DIVs left
    – Ability to place the ‘follow me’ button in the title of the widget or at the bottom (where it currently is)
    – Added an optional ‘description’ field so we can insert text below the title of the widget

    Here’s the full instructions and a link is at the bottom for the modified plugin download

    Plugin Author bkmacdaddy

    (@bkmacdaddy)

    Thanks, mferris77.

    As you stated, Tim Thumb is a controversial change and one I originally had in the plugin but then moved to jQuery instead. Too many security issues (at least at the time).

    When I get a chance, however, I will look at implementing your other changes into the “official” version of the plugin. Thanks for your work and for sharing it with everyone.

    Thank you very much mferris77!
    Although the additional options are not working for me (and it didn’t display the pictures), with your code and some minor fixes (the description vanished behind the next picture) I hardcoded it and it works like a charm now!

    I too had a problem with images not being displayed and it caused me a couple hours of grief. It turns out that another plugin that I use (Bulletproof security) locks down the use of TimThumb when referencing external images. I had to add a rule in my .htaccess file to allow content from pinterest.com. Here’s a link to that discussion if you happen to be using BPS. Thanks for your feedback – I’m glad it helped!

    Indeed I’m using BPS. ?? Good to know – thank you! But Ill stick with the workaround now. ??

    Thanks mferris77 for this modification of the plugin.

    Now that I’ve activitated it I have the same problem as you guys had : not displaying the images.
    I don’t know if I am using BPS, so i was wondering Stephanmonecke if you could tell me your workaround? What did you changed in the code and what did you hardcoded?

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Pinterest RSS Widget] Increase length of descriptive text’ is closed to new replies.