Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author gabrielroth

    (@gabrielroth)

    Tumblr Widget only displays your Tumblr’s content, not its presentation, so changes to the theme won’t change the output you see in the widget.

    You could add a horizontal line between posts using CSS borders. No easy fix for the date for,at but I’ll consider adding date-formatting options to the widget control panel.

    Thread Starter clemensa

    (@clemensa)

    That would be great if you would consider that adding a date formatting option.

    I also noticed that the image files on these audio posts are being stripped out as well. https://happymenocal.tumblr.com/ vs. https://happydev.reliquarystudio.com/studio/

    Any suggestions on how I could keep those images in would be great.

    Thanks!

    Plugin Author gabrielroth

    (@gabrielroth)

    I’m probably not going to do date formatting as an option, to avoid cluttering up the controls. (If anyone else wants it, speak up and I’ll reconsider.)

    If you like, you can edit the plugin file to get the result you want. Search for the line
    echo '<p><a href="'.$post_url.'" class="tumblr_link">'.date('m/d/y', intval($time)).'</a></p>';

    and replace 'm/d/y' with the formatting options you want from this page: https://php.net/manual/en/function.date.php.

    For instance, 'F jS Y' gives “December 2nd 2013” which is the format on your Tumblr.

    As for the images on audio posts, I’m afraid the Tumblr API doesn’t send them out so there’s no way for the widget to see them.

    Hope that’s helpful.

    Thread Starter clemensa

    (@clemensa)

    Thank you so much for your quick response!
    Thank you for providing the PHP to be able to edit the date formatting. I’m happy with this fix.
    It works really well. Thank you for developing such an easy to use plugin.

    Plugin Author gabrielroth

    (@gabrielroth)

    You’re welcome—glad it’s working for you.

    Thread Starter clemensa

    (@clemensa)

    Hello!
    One last question.
    Do you have any suggestions for styling these flash audio players for the tumblr posts? Is the Tumblr API not sending any information regarding the artist or song title? Is there a way to change the “click to play” text? Just trying to pick your brain about how I can get my Audio posts to look as close as possible to what is posted. https://happymenocal.tumblr.com/ vs. https://happydev.reliquarystudio.com/studio/
    Thank you!

    Plugin Author gabrielroth

    (@gabrielroth)

    Here’s the information the API sends for your top post:

    <post id="69186658569" url="https://happymenocal.tumblr.com/post/69186658569" url-with-slug="https://happymenocal.tumblr.com/post/69186658569/ready-to-party" type="audio" date-gmt="2013-12-06 18:40:36 GMT" date="Fri, 06 Dec 2013 13:40:36" unix-timestamp="1386355236" format="html" reblog-key="M8KbTxyM" slug="ready-to-party" audio-plays="44">
    <audio-caption><p>Ready to party</p></audio-caption>
    <audio-player>
    <embed type="application/x-shockwave-flash" src="https://assets.tumblr.com/swf/audio_player.swf?audio_file=http%3A//www.tumblr.com/audio_file/happymenocal/69186658569/tumblr_mxeejocEC51qzvsr8&color=FFFFFF" height="27" width="207" quality="best" wmode="opaque"></embed>
    </audio-player>
    <audio-embed>
    <iframe class="tumblr_audio_player tumblr_audio_player_69186658569" src="https://happymenocal.tumblr.com/post/69186658569/audio_player_iframe/happymenocal/tumblr_mxeejocEC51qzvsr8?audio_file=http%3A//www.tumblr.com/audio_file/happymenocal/69186658569/tumblr_mxeejocEC51qzvsr8" frameborder="0" allowtransparency="true" scrolling="no" width="500" height="169"></iframe>
    </audio-embed>
    <id3-artist>Black Lips</id3-artist>
    <id3-album>Let It Bloom</id3-album>
    <id3-title>Everybody's Doin' It</id3-title>
    </post>

    It would be possible to parse that and present it in a different way (e.g. extracting the ID3 information about the artist, song title, and album), but doing so is beyond the scope of the plugin.

    If you’d like to talk about a custom version, shoot me an email: gabe.roth@gmail. I wouldn’t be able to get to it until January, though.

    gr.

    Thread Starter clemensa

    (@clemensa)

    Hello!
    You had provided me the above chunk of code to fix my date formatting issue. Since the latest update to the widget, that chunk of code is breaking my tumblr widget.

    function link_to_tumblr($post_url, $time) {
    		echo '<p class="date-link"><a href="'.$post_url.'" class="tumblr_link">'.date('m/d/y', intval($time)).'</a></p><hr>';
    	}

    Any ideas? Would be awesome!
    -Alane

    Plugin Author gabrielroth

    (@gabrielroth)

    The updated plugin won’t contain any changes you’ve made. In the new version, search for:
    echo '<p><a href="'.$post_url.'" class="tumblr_link">'.date('m/d/y', intval($time)).'</a></p>';
    and again replace m/d/y with F jS Y.

    Thread Starter clemensa

    (@clemensa)

    Hello!
    Thank you for all of your help! I’d like to ask a question about photosets. Is there any code I could use to allow all of the photos from a photoset import? Currently on my tumblr I have a photoset and there is only one photo from that photoset showing up in the tumblr widget.

    https://happydev.reliquarystudio.com/studio/ vs. https://happymenocal.tumblr.com/ March 25th photoset of Japanese Diver

    Any help would you wonderful!
    Thank you!!

    Plugin Author gabrielroth

    (@gabrielroth)

    That’s a bit more complicated, I’m afraid, so I can’t just send you a snippet. It’s on my list of things to add to the plugin but I don’t know that I’ll get to it soon. Sorry I can’t be more help.
    gr.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Not Grabbing Specific Changes made to Tumblr’ is closed to new replies.