From a864ff2e03012db061a4bcc5749dd2b39927b67b Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Sat, 2 Nov 2024 10:12:47 +0000 Subject: [PATCH] custom sender address and new blog --- blog/blogs.js | 3 +- blog/blogs/65.html | 2 +- blog/blogs/66.html | 62 ++++++++++++++++++++++++++++++++++++++++ blog/blogs/all.html | 8 ++++++ blog/blogs/latest.html | 10 +++---- blog/feed.xml | 11 +++++-- index.html | 3 +- node/.newsletter.js.swp | Bin 12288 -> 0 bytes node/makeblogs.js | 9 +++--- node/previousBlog.js | 2 +- search/list.json | 6 ++++ 11 files changed, 100 insertions(+), 16 deletions(-) create mode 100644 blog/blogs/66.html delete mode 100644 node/.newsletter.js.swp diff --git a/blog/blogs.js b/blog/blogs.js index ff5e2ae..cc26547 100755 --- a/blog/blogs.js +++ b/blog/blogs.js @@ -1,5 +1,6 @@ // Sat, 18 Jul 2024 15:07:54 -blogs = [["Test post","ignore this, I'm just checking the newsletter works","Sat, 2 Nov 2024 01:01:05",[],["test","newsletter"]], +blogs = [["I made Newsletters","I made a newsletter that pulls from the blogs and sends them out whenever there is a new blog, the email has trouble looking legit at the moment because it's from debian.localhost but whatever, proof of concept, I will probably add a custom sent from address. I also made a variable website root (/) directory in the node so I don't have to manually change them all like last time. If you want to be on the newsletter just email me, I don't have a dynamic way of joining it at the moment. This post should show up in my inbox 🤞
Fly You High - DeaDvey","Sat, 2 Nov 10:05:45",[],["website","update","newsletter"]], + ["Test post","ignore this, I'm just checking the newsletter works","Sat, 2 Nov 2024 01:01:05",[],["test","newsletter"]], ["Hallowe'en and shit","For Hallowe'en I went to a hallowe'en event and it was decent, there was this old disused mine that they used and jumped out at you at points, it was pretty scary. I also am seeing a lot of fireworks for Diwali and in advance of Guy Fawkes night, so that's cool (if a little loud), I also finally moved my website to my main server and put the node files in the same directory as the website to make it more clear... The website's git page is hosted hereThough I think the page is down as I'm writing this haha, it's a friends self hosted gitea instance so that's cool. Been doing a lot of revision and school work so not been super active on updating the backend, was gonna do a forum type thing but that's kinda on the backburer atm. Anyway, that's it rn,
FLy You High - DeaDvey","Fri, 1 Nov 2024 23:36:58",["guyfawkes.jpg","gitea.png","firework.png"],["update","hallowe'en","guy fawkes","bonfire","diwali","inactive","website","gitea","server"]], ["Busy and stuff","I was, of couse very active over the summer, but that can't last forever and back at college I don't really have the time to maintain the website as well so I will be less active, I did change the website to use gitea on my friends gitea server, so that's cool...
Fly You High - DeaDvey","Wed, 2 Oct 2024 23:43:37",[],["inactive","update","gitea"]], ["Javalsai is a dick","read the title","Mon, 30 Sep 2024 17:12:00",["https://javalsai.dynv6.net/logo.png"],["hehe"]], diff --git a/blog/blogs/65.html b/blog/blogs/65.html index 714b278..c2220f1 100644 --- a/blog/blogs/65.html +++ b/blog/blogs/65.html @@ -41,7 +41,7 @@ -

<-- Previous

+

<-- Previous

Next -->


diff --git a/blog/blogs/66.html b/blog/blogs/66.html new file mode 100644 index 0000000..64be08b --- /dev/null +++ b/blog/blogs/66.html @@ -0,0 +1,62 @@ + + + + + DeaDvey's Domain + + + + + +
+ #stopchatcontrol +
+ Return | +Home page | +Blogs Feed image | +Reviews | +Videos | +Projects | +Gitea Link to gitea page | +Invidious | +Jellyfin | +Search blogs + +
+
+
+
+

Sat, 2 Nov 10:05:45

+

I made Newsletters

+

I made a newsletter that pulls from the blogs and sends them out whenever there is a new blog, the email has trouble looking legit at the moment because it's from debian.localhost but whatever, proof of concept, I will probably add a custom sent from address. I also made a variable website root (/) directory in the node so I don't have to manually change them all like last time. If you want to be on the newsletter just email me, I don't have a dynamic way of joining it at the moment. This post should show up in my inbox 🤞
Fly You High - DeaDvey

+
+ +

+ website,update,newsletter
+

Comments section:


+
+
+ + + +
+ +

<-- Previous

+
+
+ + + \ No newline at end of file diff --git a/blog/blogs/all.html b/blog/blogs/all.html index 277d0a8..5c5e20f 100755 --- a/blog/blogs/all.html +++ b/blog/blogs/all.html @@ -26,6 +26,14 @@
+

Sat, 2 Nov 10:05:45

+

I made Newsletters

+

I made a newsletter that pulls from the blogs and sends them out whenever there is a new blog, the email has trouble looking legit at the moment because it's from debian.localhost but whatever, proof of concept, I will probably add a custom sent from address. I also made a variable website root (/) directory in the node so I don't have to manually change them all like last time. If you want to be on the newsletter just email me, I don't have a dynamic way of joining it at the moment. This post should show up in my inbox 🤞
Fly You High - DeaDvey

+
+ +
+ +

Sat, 2 Nov 2024 01:01:05

Test post

ignore this, I'm just checking the newsletter works

diff --git a/blog/blogs/latest.html b/blog/blogs/latest.html index 1450975..9df84b0 100755 --- a/blog/blogs/latest.html +++ b/blog/blogs/latest.html @@ -26,14 +26,14 @@
-

Sat, 2 Nov 2024 01:01:05

-

Test post

-

ignore this, I'm just checking the newsletter works

+

Sat, 2 Nov 10:05:45

+

I made Newsletters

+

I made a newsletter that pulls from the blogs and sends them out whenever there is a new blog, the email has trouble looking legit at the moment because it's from debian.localhost but whatever, proof of concept, I will probably add a custom sent from address. I also made a variable website root (/) directory in the node so I don't have to manually change them all like last time. If you want to be on the newsletter just email me, I don't have a dynamic way of joining it at the moment. This post should show up in my inbox 🤞
Fly You High - DeaDvey


- test,newsletter -

<-- Previous

+ website,update,newsletter +

<-- Previous


diff --git a/blog/feed.xml b/blog/feed.xml index 23a267d..fac914a 100755 --- a/blog/feed.xml +++ b/blog/feed.xml @@ -4,8 +4,15 @@ DeaDvey https://deadvey.com Just talking about life and stuff I guess - Sat, 2 Nov 2024 01:01:05 +0000 - Sat, 2 Nov 2024 01:01:05 +0000 + Sat, 2 Nov 10:05:45 +0000 + Sat, 2 Nov 10:05:45 +0000 + + I made Newsletters + https://deadvey.com/blog/blogs/66.html + I made a newsletter that pulls from the blogs and sends them out whenever there is a new blog, the email has trouble looking legit at the moment because it's from debian.localhost but whatever, proof of concept, I will probably add a custom sent from address. I also made a variable website root (/) directory in the node so I don't have to manually change them all like last time. If you want to be on the newsletter just email me, I don't have a dynamic way of joining it at the moment. This post should show up in <i>my</i> inbox 🤞<br/>Fly You High - DeaDvey + Sat, 2 Nov 10:05:45 +0000 + websiteupdatenewsletter + Test post https://deadvey.com/blog/blogs/65.html diff --git a/index.html b/index.html index 037a75d..67453ed 100755 --- a/index.html +++ b/index.html @@ -20,8 +20,7 @@

Blog posts

    -
  • •College - Enrolement 💀 I got a fucking landyard
  • +
  • •Website update I made a Newsletter
  • •NIX OS IS SO FUCKING COOL DO NOT TRY CHANGE
    MY MIND!!!
    nixos review
  • diff --git a/node/.newsletter.js.swp b/node/.newsletter.js.swp deleted file mode 100644 index 3a5748d88337712552404780394672936adbe95d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2OKuZE5I{TZA`(D>C5y_C#I}NG^4UQAS)d3h3q+&{gcMovc&2O*nvdyje?nq$ z19or$uE3HbZ~$(=286^3s2-2wkA#A8jlhjBH4{$Hl}^9kciK7%ojCE)iLtLj)EcGzT3sH2Etmik zxDtV`ZWbRci`|{=^r%0uR^jf-iz|gNfC(^xYe>NLh4_3^h` zwh&)P-jlo{StnT_`F2Z)k0c*R5|aBQH%J`F-VI*q-&LfJ!k=<4>SHM+Okk=P58u6hzCExNgDJ%l=4 z(dSsatBvRw=K{lro6ZLqfHY_`2Qf^46Iy16OBStxTxzLu_ ztmN8SchsKa_~`mQJhdsGV*;fw<;?RM+UAaQuKHXCEdvq`6Q#?JTeaXEqOR6ZM6gs^ zc&stjCx&N5<3Ojkt1T!hu=dg2r(`(=W+CQguvHscG^Yro21<48b)__MM*Z5b4q~yH zNXVyjW(En;RtaVupbS~0jQ703<|ZwnFe^W|Ox25JOm~X05?&Ik$!<#ZlvLuIZXod= zwqqfSkfur(Y`hzeXS3IYncl2!Y&zLEqjJ*S^tUo5YiW+dIDdv@%E@w2dsElmGu~?2 pYjWJC9c^c#pSC^&v!7u&ZR@pz&_C(O#6v~Zl*TyJv{BR4`3F>ogy8@H diff --git a/node/makeblogs.js b/node/makeblogs.js index f97f7e1..950fddd 100644 --- a/node/makeblogs.js +++ b/node/makeblogs.js @@ -1,8 +1,9 @@ -const blogs = require("/var/www/html/blog/blogs.js"); -const filePath = "/var/www/html/blog/blogs/"; +const serverPath = require("./serverPath.js") +const blogs = require(serverPath+"/blog/blogs.js"); +const filePath = serverPath+"/blog/blogs/"; const fs = require("fs"); -const { pageTop, pageBottom } = require("/var/www/html/html.js") -const comments = require("/var/www/html/blog/comments.js") +const { pageTop, pageBottom } = require(serverPath+"/html.js") +const comments = require(serverPath+"/blog/comments.js") console.log(blogs); ///////////////////////////////// diff --git a/node/previousBlog.js b/node/previousBlog.js index 156f6ad..61e92bb 100644 --- a/node/previousBlog.js +++ b/node/previousBlog.js @@ -1 +1 @@ -let lastBlog=65; if (typeof module !== 'undefined' && module.exports) { module.exports = lastBlog; } \ No newline at end of file +let lastBlog=66; if (typeof module !== 'undefined' && module.exports) { module.exports = lastBlog; } \ No newline at end of file diff --git a/search/list.json b/search/list.json index 142aac5..9c4cb7a 100755 --- a/search/list.json +++ b/search/list.json @@ -394,5 +394,11 @@ "name": "Test post", "tags": "test,newsletter", "link": "/blog/blogs/65.html" + }, + { + "id": 66, + "name": "I made Newsletters", + "tags": "website,update,newsletter", + "link": "/blog/blogs/66.html" } ] \ No newline at end of file