Caption in RSS feeds
westis
Registered Users Posts: 34 Big grins
Hi,
I'm using the WP-Smugmug plugin to include thumbs from a gallery RSS feed in a WordPress post. How can I have the captions included? That is, not as alt text for the link and the image, as it is now, but as a text that can be shown together with the image?
I've made a test post here: http://www.danielwestergren.se/2006/12/31/test/
The code on a page where the author of the WP-Smugmug plugin is using the plugin there is also some <span> tags and the caption included.
By the way, if I use the Atom feed there is no link for the image, so the alt text shows instead.
Educate me!
Btw, my SmugMug page is http://westis.smugmug.com
Thanks!
I'm using the WP-Smugmug plugin to include thumbs from a gallery RSS feed in a WordPress post. How can I have the captions included? That is, not as alt text for the link and the image, as it is now, but as a text that can be shown together with the image?
I've made a test post here: http://www.danielwestergren.se/2006/12/31/test/
The code on a page where the author of the WP-Smugmug plugin is using the plugin there is also some <span> tags and the caption included.
By the way, if I use the Atom feed there is no link for the image, so the alt text shows instead.
Educate me!
Btw, my SmugMug page is http://westis.smugmug.com
Thanks!
0
Comments
after
in the wp-smugmup.php plugin file. This should be line 108 in the file (at least for me it was).
BTW - The "target="_blank" is something I added as well so my smugmug gallery opens in a new window instead of taking people away from my site.
And finally - I just found out about SmugMug yesterday via TechCrunch, so I have just started checking out the service as well as this plugin for Wordpress.
http://www.thebarkersworld.com/scotland/#more-35
If you like it and want to know what changes I made inside the plugin options, let me know...
Sweet, sweet, VERY SWEET
Couple of challenging questions for ya,though:
- Where's the example on your site? Not seeing anything other than the YouTube and Flicker stuffs feeding in.
- Was hoping to see the demo on your site to check your code to see if the CSS file was being called in. Not seeming to get it to feed into the site I am currently working on (http://lakecountyhistory.org/2007/01/17/testing-gallery-insert/)
Thanks for the post. It is most helpful to what I am trying to do with this client site.http://www.thebarkersworld.com/posts/Scotland
I added this in the WP-SmugMug options:
In the "HTML Before Each Image", I added this at the end: In the "HTML After Each Image", I added another one of these at the end: In the "CSS" area, I added this:
You can play with that to adjust how you want the text to display.
Bear in mind, I am no guru, but I can usually hack my way through to get what I want.
Good to see how it works for you.
Unfortunately, something in my theme (I think) is preventing me from actually seeing the CSS stylesheet from being applied to the images on the page. Hmmm, I wonder if it has anything to do with the fact that I am using the plugin in a post vs. a page. Will have to check that out.
Thanks!
I am using the plugin on a page as well. All I did was put what text I wanted in the Post field in Wordpress and them put wp-smugmug as the key in the custom field and put this link for the value:
http://ockabewis.smugmug.com/hack/feed.mg?Type=gallery&Data=2381048&format=rss200
Dunno why it's not showing up when viewing the source on your page...