Moondeer
Moondeer

The irony of rolling my own preview cards statically … now I have to figure out how to keep the HTML in my post but send the cardified link when cross posting.

CC @sod @manton

|
Embed
Progress spinner
Moondeer
Moondeer

@Moondeer @sod @manton Perhaps if the preview card anchor actually wrapped the card rather than using CSS to expand its hit box. Would the <a> be reduced to a minimal link to its href when cross posted?

|
Embed
Progress spinner
Moondeer
Moondeer

@Moondeer @sod @manton This could be a good use case for having a data-attribute that the Micro.blog cross posting parser could look for on HTML tags in the content that held a value (in this case, a simple url) that could be substituted for the element and its children when cross posting.

|
Embed
Progress spinner
In reply to
Moondeer
Moondeer

@Moondeer @sod @manton Went ahead and solved it #ADHD … but I still believe a hook for cross post control is warranted (and would be required for a fully static preview card solution (and once installed would likely be useful in countless ways).

|
Embed
Progress spinner
sod
sod

@Moondeer You could have the RSS file on your blog just output the link instead of the extra markup. That way, it would look better on the Micro.blog timeline and services you choose to cross-post to. But, still, have that cardy look on your blog.

|
Embed
Progress spinner
Moondeer
Moondeer

@sod Good idea, I wasn't really sure where in the chain the content was being pulled from for cross posting. I ended up with a refined Javascript solution … but I may play with the RSS down the line. Might be tricky as a olugin?

|
Embed
Progress spinner