Jump to content

Saving Blogs for Later

Go to solution Solved by GOTSpectrum,
On 7/24/2024 at 11:26 PM, colonel_mortis said:

Is this specifically for blogs, or for forum topics/posts? I believe blogs do support that (or at least used to, and I'm not sure if that's just a moderator permission or something, I would need to check if that is what you're asking about).

Yep. @ThankGodItsFriday As a user of the blog feature for folding events I've used this in the past... It is already built in... Here 

 

image.thumb.png.f40d0aa1baf39c710089b6d42cc3edbe.png

I don't want to prematurely post a blog entry just to resume work later, nor do I want to leave it open on my PC for extended periods and risk losing everything. It would be nice to have a "Save to Draft" feature, where it saves your blog entry to your account without publishing the post publicly.

The mind of a person with discernment gets knowledge, and the ear of the wise seeks knowledge. Proverbs 18:15 CJB

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/
Share on other sites

Link to post
Share on other sites

The forum saves not-yet-submitted posts in your browser's temp folder, so you can close the page, come back, and your post will still be there. That's per-device, though - doesn't sync to the account.

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16473070
Share on other sites

Link to post
Share on other sites

3 minutes ago, da na said:

The forum saves not-yet-submitted posts in your browser's temp folder, so you can close the page, come back, and your post will still be there. That's per-device, though - doesn't sync to the account.

It doesn't work with every browser, either. Also, closing your web browser to save on CPU and RAM will clear the temp folder, as well.

The mind of a person with discernment gets knowledge, and the ear of the wise seeks knowledge. Proverbs 18:15 CJB

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16473077
Share on other sites

Link to post
Share on other sites

For now (as I don't know whether this is something tgat can be easily done), you could use Test Posts. Since blogs use same formatting as other forums and test Posts are only visible to you and the staff. You could have one thread with each entry as single post and then do edits to them. Before copypasting it to blog entry.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16473132
Share on other sites

Link to post
Share on other sites

10 hours ago, da na said:

The forum saves not-yet-submitted posts in your browser's temp folder

10 hours ago, ThankGodItsFriday said:

It doesn't work with every browser, either. Also, closing your web browser to save on CPU and RAM will clear the temp folder, as well.

actually-derek-muller.gif
It is not saved inside a "temp folder", but inside "Local Storage",
which is a fancy name for a key & value pair inside an SQLite database.
(regardless if it is Chromium or Firefox or Safari browser, they all use pretty much the same mechanism)
And it looks something like this:
image.thumb.png.9ac06de5c5d7f93fa9bd6f1d2ff8179f.png
Key: editorSave.blogs-new-blog, you can also see I have another editor key (this reply I'm typing right now)
Value: in this case is an array where the 1st element is the contents/description of the blog and the 2nd element is the unix timestamp (when it was saved).
Note that Category & Name aren't saved anywhere.

Now with all that being said, resuming work on a blog can be very unintiutive IMO.
You start writing a blog, navigate to a different page or close the browser,
navigate back to creating a new blog and it will say:
image.png.3d2f6abba5f920be41d738af697cf41c.png
And looks like it is borked, it didn't restore anything...
but clicking on "Add a description..." will actually display the restored contents:
image.png.0d5700eac8efff34da2b0cdb0755fe8d.png

11 hours ago, ThankGodItsFriday said:

Also, closing your web browser to save on CPU and RAM will clear the temp folder, as well.

Typically clearing cookies also wipes local storage, and obviously using incognito / private window will not persist local storage between runs.
 

11 hours ago, da na said:

That's per-device, though - doesn't sync to the account.

Yep, per device & browser though.
I can have Chrome & Firefox on the same device and each will have its own local storage.

Also there are ways you could sync local storage accross all of your devices and browsers... but that is another topic.

-----

PS
Test Posts is a simpe workaround as @LogicalDrm already mentioned... but if for whatever reason you wanted to you could also back up / edit it using the browser Dev tools GUI, or with JS.

-

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16473451
Share on other sites

Link to post
Share on other sites

...So, in other words, you guys don't care for such a feature.

 

(shrug) Okay, then. I will just make sure my posts are saved by typing out my work mostly in a word processor first, then doing copy-and-paste. I also will likely not use the blog feature very much at all. Seems pointless to have a blog if you can't save your work more effortlessly, but whatevs.

 

It's not that important to me, anyway. Nothing lost. Nothing gained.

The mind of a person with discernment gets knowledge, and the ear of the wise seeks knowledge. Proverbs 18:15 CJB

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16474635
Share on other sites

Link to post
Share on other sites

4 hours ago, ThankGodItsFriday said:

...So, in other words, you guys don't care for such a feature.

None of the people who posted are in charge of development and thus can give answer. Which is why I wrote "for now". To know whether this is easy or hard to add, you have to wait for those who know about the development. And if it's hard to implement, then you can say that it's about caring.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16474904
Share on other sites

Link to post
Share on other sites

Is this specifically for blogs, or for forum topics/posts? I believe blogs do support that (or at least used to, and I'm not sure if that's just a moderator permission or something, I would need to check if that is what you're asking about).

HTTP/2 203

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16475230
Share on other sites

Link to post
Share on other sites

On 7/24/2024 at 11:26 PM, colonel_mortis said:

Is this specifically for blogs, or for forum topics/posts? I believe blogs do support that (or at least used to, and I'm not sure if that's just a moderator permission or something, I would need to check if that is what you're asking about).

Yep. @ThankGodItsFriday As a user of the blog feature for folding events I've used this in the past... It is already built in... Here 

 

image.thumb.png.f40d0aa1baf39c710089b6d42cc3edbe.png

My Folding Stats - Join the fight against COVID-19 with FOLDING! - If someone has helped you out on the forum don't forget to give them a reaction to say thank you!

 

The only true wisdom is in knowing you know nothing. - Socrates
 

Please put as much effort into your question as you expect me to put into answering it. 

 

  • CPU
    Ryzen 9 5950X
  • Motherboard
    Gigabyte Aorus B550 Elite V2
  • RAM
    32GB DDR4 @ 3400
  • GPU
    Inno3D RTX 4070 Ti + Dell RTX 2070
  • Case
    Cooler Master - MasterCase H500P
  • Storage
    WD black 2TB NVMe SSD, Seagate BarraCuda 1TB x2, Crucial 1TB SATA SSD
  • PSU
    Corsair 850e
  • Display(s)
    Lenovo L29w-30 29 Inch UltraWide, 4x Dell P2417H(portrait)
  • Cooling
    Arctic Liquid Freezer II 360
  • Laptop
    Lenovo Legion Y540
  • Phone
    Sony Xperia 5, Sony Xperia 5 IV
Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16477769
Share on other sites

Link to post
Share on other sites

16 hours ago, GOTSpectrum said:

Yep. @ThankGodItsFriday As a user of the blog feature for folding events I've used this in the past... It is already built in... Here 

 

image.thumb.png.f40d0aa1baf39c710089b6d42cc3edbe.png

Ah, good to know! Thanks!

The mind of a person with discernment gets knowledge, and the ear of the wise seeks knowledge. Proverbs 18:15 CJB

Link to comment
https://linustechtips.com/topic/1577307-saving-blogs-for-later/#findComment-16478166
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×