potofsoup: (Default)
[personal profile] potofsoup
Not all posts are intended to be reblogged, but if you do have something that you want to spread, like announcing a new comm or something, maybe one thing to do is to create a <textarea> where you put in the code that people can simply copy-paste into their post. They can add/edit the text how they want, but saves on formatting time.

If they want to continue the reblog chain, they can simply paste the reblog snippet a second time and put it inside a <textarea> </textarea>.

Reblog starter text:

Date: 2018-12-22 06:04 pm (UTC)

Date: 2018-12-22 06:34 pm (UTC)
snake_socks: jellyfish in dramatic lighting (Default)
From: [personal profile] snake_socks
will be thinking about it... my web programming skills are for shit, but there has to be an elegant way to do this.

Date: 2018-12-22 09:32 pm (UTC)
minoanmiss: A detail of the Ladies in Blue fresco (Default)
From: [personal profile] minoanmiss
Oh!

Date: 2018-12-23 04:32 am (UTC)
From: [personal profile] pseudonym_loving_magpie
It seems like you need to do a lot of escaping angle brackets to do this (and there's possibly some escaping missing - once I copied "about spreading reblogs via textarea tags to save time on formatting." from the textarea, the word "textarea" had angle brackets around it unescaped. I removed the in my repost and this comment so they wouldn't cause a problem, the other option being to escape them myself.)

I wonder if using markdown instead would reduce this issue.

Date: 2018-12-23 04:33 am (UTC)

Date: 2018-12-23 05:47 am (UTC)
From: [personal profile] pseudonym_loving_magpie
I hadn't realised you don't need to escape all the angle brackets in the text area, e.g. around the "a" and "user" tags. Yeah that's not a big deal then

Date: 2018-12-23 05:54 am (UTC)
From: [personal profile] pseudonym_loving_magpie
I've added this to my meme post https://pseudonym-loving-magpie.dreamwidth.org/748.html and I'll see if I can also put the source code here in an outer text area:



That almost worked, but you can't see the end tag for the text area at the end. Anyway there should be a textarea end tag at the end.

I made some changes though, so that the reblog could include the whole post (except hash tags) and a response.
Edited (Mention textarea end tag) Date: 2018-12-23 05:57 am (UTC)

Date: 2018-12-23 05:58 am (UTC)
From: [personal profile] pseudonym_loving_magpie
The textarea start tag seems to work (as non-code) inside it, the problem is the matching textarea end tag doesn't work.

Date: 2018-12-23 06:14 am (UTC)
From: [personal profile] pseudonym_loving_magpie
I wonder if you could do something like having a javascript bookmarklet to duplicate selected text and put the extra copy in textarea tags.
https://en.wikipedia.org/wiki/Bookmarklet

I don't have time to look into that much right now though.

Profile

potofsoup: (Default)
potofsoup

About

#me
#mine
AO3
Patreon
Storenvy
potofsoupyfeels at gmail

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 30th, 2025 06:45 pm
Powered by Dreamwidth Studios