custom sender address and new blog

This commit is contained in:
DeaDvey 2024-11-02 10:12:47 +00:00
parent 47a2239fa9
commit a864ff2e03
11 changed files with 100 additions and 16 deletions

View File

@ -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 <i>my</i> inbox 🤞<br/>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 <a href='https://git.javalsai.dynv6.net/deadvey/htdocs'>here</a>Though 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,<br/>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...<br/>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"]],

View File

@ -41,7 +41,7 @@
<button type="submit">Submit</button>
</form>
<div class="65" id="comments"></div></div><p class="previous"><a href="64.html"><-- Previous</a></p>
<div class="65" id="comments"></div></div><p class="previous"><a href="64.html"><-- Previous</a></p><p class="next"><a href="66.html">Next --></a></p>
<div id="links">
</div><script src="/blog/comments.js"></script><script src="/blog/displayComments.js"></script></div>
<hr/>

62
blog/blogs/66.html Normal file
View File

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>DeaDvey's Domain</title>
<link rel="icon" href="/images/favicon.png">
<link rel="stylesheet" type="text/css" href="/index.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="header main">
<a href="https://chatcontrol.eu">#stopchatcontrol</a>
<!--img src="/images/header-image.png" /--><br/>
<a href="/" onclick="history.back()"><img src="/images/return.png" width="20" />Return</a> |
<a href="/">Home page</a> |
<a href="/blog/index.html">Blogs</a> <a href="/blog/feed.xml"><img width="16" src="/images/feedIcon.png" class="feedicon" alt="Feed image"/></a> |
<a href="/blog/reviews">Reviews</a> |
<a href="/video/index.html">Videos</a> |
<a href="/project/index.html">Projects</a> |
<a href="https://git.javalsai.dynv6.net/deadvey/htdocs">Gitea <img height="15" src="/images/gitea.png" alt="Link to gitea page"/></a> |
<a href="http://deadvey.com:3000">Invidious <img src="/images/invidious.png" height="15"/></a> |
<a href="http://deadvey.com:8096">Jellyfin <img src="/images/jellyfin.png" height="15"/></a> |
<a href="/search">Search blogs</a>
</div>
<hr/>
<div class="main">
<div id="main">
<h3 class="blog-date">Sat, 2 Nov 10:05:45</h3>
<h1 class="blog-title">I made Newsletters</h1>
<p class="blog-content">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</p>
<div class="blog-images">
</div><br/>
<sub><i><small>website,update,newsletter</small></i></sub><hr/>
<h3>Comments section:</h3><br/>
<form action="/blog/submit-comment" id="commentForm" method="post">
<input name="name" class="form-control" id="name" placeholder="Enter your name"><br/>
<input height="40px" name="comment" class="form-control input-comment" id="comment" placeholder="Enter your Comment...">
<input type="hidden" name="pageID" value="66">
<button type="submit">Submit</button>
</form>
<div class="66" id="comments"></div></div><p class="previous"><a href="65.html"><-- Previous</a></p>
<div id="links">
</div><script src="/blog/comments.js"></script><script src="/blog/displayComments.js"></script></div>
<hr/>
<div class="footer main">
<ul>
Internal pages:
<li><a href="/experiments" >Experiments <img height="30" src="/images/experience-green-liquid.gif" /></a></li>
<li><a href="/isthistheyearofthelinuxdesktop" >Is this the year of the Linux Desktop? <img src="/images/penguin-dance-pengu.gif" height="20" alt="penguin dancing" /></a></li>
<li><a href="/theunderland" >theunderland wiki <img src="/images/flashlight.gif" alt="torch scanning" height="30" /></a></li>
<br/>
External sites:
<li><a href="https://git.javalsai.dynv6.net/deadvey" >Gitea</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -26,6 +26,14 @@
<hr/>
<div class="main">
<h3 class="blog-date">Sat, 2 Nov 10:05:45</h3>
<h1 class="blog-title">I made Newsletters</h1>
<p class="blog-content">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</p>
<div class="blog-images">
</div>
<div id="links"></div><hr/><script src="/template.js"></script>
<h3 class="blog-date">Sat, 2 Nov 2024 01:01:05</h3>
<h1 class="blog-title">Test post</h1>
<p class="blog-content">ignore this, I'm just checking the newsletter works</p>

View File

@ -26,14 +26,14 @@
<hr/>
<div class="main">
<h3 class="blog-date">Sat, 2 Nov 2024 01:01:05</h3>
<h1 class="blog-title">Test post</h1>
<p class="blog-content">ignore this, I'm just checking the newsletter works</p>
<h3 class="blog-date">Sat, 2 Nov 10:05:45</h3>
<h1 class="blog-title">I made Newsletters</h1>
<p class="blog-content">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</p>
<div class="blog-images">
</div><br/>
<sub><i><small>test,newsletter</small></i></sub>
<p class="previous"><a href="64.html"><-- Previous</a></p>
<sub><i><small>website,update,newsletter</small></i></sub>
<p class="previous"><a href="65.html"><-- Previous</a></p>
<div id="links">
</div><script src="https://code.jquery.com/jquery-3.6.1.min.js"></script><script src="/template.js"></script></div>
<hr/>

View File

@ -4,8 +4,15 @@
<title>DeaDvey</title>
<link>https://deadvey.com</link>
<description>Just talking about life and stuff I guess</description>
<pubDate>Sat, 2 Nov 2024 01:01:05 +0000</pubDate>
<lastBuildDate>Sat, 2 Nov 2024 01:01:05 +0000</lastBuildDate>
<pubDate>Sat, 2 Nov 10:05:45 +0000</pubDate>
<lastBuildDate>Sat, 2 Nov 10:05:45 +0000</lastBuildDate>
<item>
<title>I made Newsletters</title>
<link>https://deadvey.com/blog/blogs/66.html</link>
<description>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&#39;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&#39;t have to manually change them all like last time. If you want to be on the newsletter just email me, I don&#39;t have a dynamic way of joining it at the moment. This post should show up in &lt;i&gt;my&lt;/i&gt; inbox 🤞&lt;br/&gt;Fly You High - DeaDvey</description>
<pubDate>Sat, 2 Nov 10:05:45 +0000</pubDate>
<category>website</category><category>update</category><category>newsletter</category>
</item>
<item>
<title>Test post</title>
<link>https://deadvey.com/blog/blogs/65.html</link>

View File

@ -20,8 +20,7 @@
<h3>Blog posts</h3>
<p>
<ul>
<li><a href='https://deadvey.com/blog/blogs/57.html'>College
Enrolement 💀</a> I got a fucking landyard</li>
<li><a href='https://deadvey.com/blog/blogs/66.html'>Website update</a> I made a Newsletter</li>
<li><a href='https://deadvey.com/blog/blogs/39.html'>NIX OS IS SO
FUCKING COOL DO NOT TRY CHANGE<br/> MY
MIND!!!</a><img src="/images/nixos.png" width='20'/> nixos review</li>

Binary file not shown.

View File

@ -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);
/////////////////////////////////

View File

@ -1 +1 @@
let lastBlog=65; if (typeof module !== 'undefined' && module.exports) { module.exports = lastBlog; }
let lastBlog=66; if (typeof module !== 'undefined' && module.exports) { module.exports = lastBlog; }

View File

@ -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"
}
]