Tweaking captions of the RSS feed
TheBubbleBoy
Registered Users Posts: 11 Big grins
My first problem is that the caption field in the RSS feed is being cut of. It ends prematuraly with ' ...'
Is there anyway to increase the maximum number of caption characters (I tried adding &CaptionLength=xxx to the feed url but that didn't work)
Also:
Is there anyway to turn off the automatic stripping of HTML tags? Right now, I have to write really unreadable captions such as <b>Title:</b> Bubblying<br> <b>When:</b> Yesterday... to get the proper HTML tags in the RSS feed. But typing <b>Title:</b> Bubblying<br/><b>When:</b> Yesterday would be way nicer and efficient....
Is there anyway to increase the maximum number of caption characters (I tried adding &CaptionLength=xxx to the feed url but that didn't work)
Also:
Is there anyway to turn off the automatic stripping of HTML tags? Right now, I have to write really unreadable captions such as <b>Title:</b> Bubblying<br> <b>When:</b> Yesterday... to get the proper HTML tags in the RSS feed. But typing <b>Title:</b> Bubblying<br/><b>When:</b> Yesterday would be way nicer and efficient....
0
Comments
I've never run into my captions being truncated, but I don't write very long captions.
For instance: http://bubbleboy-studios.smugmug.com/hack/feed.mg?Type=gallery&Data=7469343_SYnHc&format=rss200
These are not even very long captions. Most of the length is caused by the complex encoding of the HTML.
I guess I can also change the Lightbox javascript code so it inserts some HTML of its own to elevate the problem a bit, but I'm still hoping one of SmugMug's support heroes drops by and reveals one of his 'super-secret' RSS feed parameters. Where is SuperMan when you need him :cry......:D
Captions should be in a format like this:
Enter here the title, you can use as many spaces as you like.
Description: enter here your description
Artist: enter here the artist name
The newlines are not required and kind of hard to do if you're are using the mass-caption management tools. You can use as many 'fdgdfg: gdgfgfd' fields as you want. That is until the RSS feed considers it too long
The code below replaces the existing code in 'jquery.lightbox.js' below the comment '// Extract description from title'
Hope this helps somebody...