• Resolved doctorproctor

    (@doctorproctor)


    Okay, on to my next question, now that this one got (quickly!) resolved. I am discovering that the MailChimp Template Designer formatting apparently no longer applies to feed item content after activating your plugin. This includes both (a) global styling (e.g., of all text blocks) and (b) styling individual items (which I’m trying to do with *|FEEDITEM:CONTENT_FULL|*).

    I think I see why when I check the preview mode source: the |FEEDITEM:CONTENT_FULL|* block is wrapped in a <p></p>, which negates the <span style=…></span> formatting; i.e., the <p></p> is *inside* the <span></span>.

    I’ve confirmed that this <p></p> is not there when I deactivate your plugin.

    If you can advise, please, how to apply formatting to feed item content given the above, I’d sure appreciate.

    Regards,

    Jim P.

    https://www.ads-software.com/plugins/send-images-rss/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Can you please share a link to your RSS feed and a copy/paste of your MailChimp template tags? For example, I’m using this feed as my example feed, and with this in my email template:

    *|FEEDBLOCK:https://robin.works/feed/email|*
    *|FEEDITEMS:[$count=1]|*
    *|FEEDITEM:TITLE|*
    
    *|FEEDITEM:CONTENT_FULL|*
    *|END:FEEDITEMS|*
    *|END:FEEDBLOCK|*

    My email is showing as expected with the image aligned to the right (thumbnail size), and the MailChimp styling is working as I expect it to.

    Thread Starter doctorproctor

    (@doctorproctor)

    Yes: the feed is here, and my current MailChimp content block is as follows:

    *|FEEDBLOCK:https://ds.lclark.edu/envx/feed/|*
    *|FEEDITEMS:[$count=10]|*
    *|FEEDITEM:TITLE|*
    ENVX editor: *|FEEDITEM:AUTHOR|* – Published: *|FEEDITEM:DATE:m/d/y|*
    *|FEEDITEM:CONTENT_FULL|*
    *|END:FEEDITEMS|*
    *|END:FEEDBLOCK|*

    You are correct that image alignment, feed excerpt length, and read more link are working as per your plugin settings. It’s just that <p></p> inside the <span style></span> around the content_full material, I believe.

    I’ve uploaded a screenshot of the preview mode here; you can see the issue with styling the content_full material.

    Sure appreciate,

    Jim P.

    Plugin Author Robin Cornett

    (@littlerchicken)

    Okay, I think I see what you are seeing. If I attempt to style the specific text block, the styling isn’t honored. For excerpts, the plugin automatically adds <p> tags to the output, so for me, it’s picking up the MailChimp styles set for the body on the main Design tab. It’s interesting to me that even if I set what should be an inline style in the content editor, it still uses the body styling.

    Would it be possible for you to set the overall body styling to be what you want, instead of trying to define the styling for the specific content block? (I do think it’s a bit odd that MailChimp does this but since I can’t control it, I’d like to help you figure out how to work with it.)

    Right now, there is no way to easily disable the plugin’s automatically wrapping everything in paragraph tags, because that was desired behavior. If changing the MailChimp body styles isn’t going to work for you, I’ll look into how to make it possible to remove the automatic paragraph tagging, but if it is possible to do it, it would have to show up in a future plugin release.

    Thread Starter doctorproctor

    (@doctorproctor)

    Okay, got it! Previously I had only understood how to globally style a particular (e.g., text) block, or a particular item inside a block, but now I see that by not selecting any blocks I can globally style the entire body, and this is indeed preserved throughout, including where I was bumping into the problem.

    So, I’m happy to do it this way; thanks again.

    Jim P.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘formatting feed item content’ is closed to new replies.