Work I did over the weekend, new blog post
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
<div class="post">
|
||||
<h3 class="postHeader">Blog Posts</h3>
|
||||
<ul>
|
||||
<li><a href="/pages/templates/post.html?02-11-25">02-11-25: Visiting my parents store</a></li>
|
||||
<li><a href="/pages/templates/post.html?01-11-25">01-11-25: My Halloween party</a></li>
|
||||
<li><a href="/pages/templates/post.html?29-10-25">29-10-25: I think I'm about done with the home page</a></li>
|
||||
<li><a href="/pages/templates/post.html?20-10-25">20-10-25: My status has been upgraded</a></li>
|
||||
@ -161,4 +162,4 @@
|
||||
</div>
|
||||
<script src="/javascript/remeber.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
29
newpost.sh
Executable file
29
newpost.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
postDir="pages/blog/"
|
||||
rssFeed="xml/voidblog.xml "
|
||||
echo "Enter Date"
|
||||
read name
|
||||
echo "Enter Title: "
|
||||
read title
|
||||
echo "Enter Subtitle: "
|
||||
read subtitle
|
||||
echo "Enter Date: "
|
||||
read date
|
||||
echo "Enter post type"
|
||||
read postType
|
||||
|
||||
# Modify RSS Feed File with new File Data
|
||||
rssItem=$(sed "s/#TITLE/$title/g; s/#CATEGORY/$postType/g; s/#LINK/https:\/\/voidwillow.neocities.org\/pages\/templates\/blog\?$name/g; s/#DESCRIPTION/$subtitle/g; s/#DATE/$(date "+%a %d %b %Y %H:%M:%S CST")/g")
|
||||
#Add new Item to feed below the <!--Feed--> Comment
|
||||
sed '/<!--Feed-->/a\'$rssItem $rssFeed
|
||||
|
||||
#Create new Post from provided info
|
||||
cd $postDir
|
||||
if [ -e $name.json ]
|
||||
then
|
||||
nvim $name.json
|
||||
else
|
||||
cp template.json $name.json
|
||||
sed -i "s/#TITLE/$title/g; s/#SUBTITLE/$subtitle/g; s/#DATE/$date/g" $name.json
|
||||
nvim $name.json
|
||||
fi
|
||||
7
pages/blog/02-11-25.json
Normal file
7
pages/blog/02-11-25.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": "Visiting my parents shop",
|
||||
"subTitle": "More website design time",
|
||||
"date": "01 November 2025 11:50PM",
|
||||
"postType": "text",
|
||||
"postText": "I'm currently at my parents shop well really it's my mom's store. She sells wooden signs for special events and hollidays. She also sells antiques too and a bunch of other stuff she has collected over the years. She really loves what she does. She just recently built a big building for her store when she was originally opperating first out of a tent and then a wooden stall and now it's a big metal building almost in an old western style general store kinda. It's really cute and I'm gonna be working on her website while I'm here. I'm hoping to get most of it finished up so I can keep it up instead of just having the test website up. If anyone is wanting to check it out in the future it's located at https://www.thetexassignlady.shop/ Feel free to sign up for the newsletter if you are located near Central Texas and would like to buy a sign. I am gonna be here at least a day and I'm so glad I decided to bring my ex-boyfriends old ultrabook to work on her website than trying to do it on my tablet. Especially since the server software I'm using to write her website doesn't support arm based devices with the database I'm using. I'm pretty sure this is probably gonna be one of my longer post since It's such a departure from the more mundaine but pieceful life I have with my polycule. It's kinda nice seeing my parents even if some of us still hold a lot of resentment towards them for their treatment of us during highdchool especially. But what is in the past is in the past and you have to move past it and accept it in order to grow even if you won't get the exact closure you want. I really hope everyone is liking how my site has been turning out. I've been loving it and I am just wanting to post more and more as we all keep working on it. It really feels like a project that I can have that finally encompassed all of our interests, hobbies, and goals with wanting to be more self actualized about myself and who I am and I feel like it has been rubbing off on my girlfriends lately. My wife the Lavender system put out a really great post about her and her system to her tumblr and I'm just so proud of her. I'm hoping she keeps going. It's been amazing watching her become more of the person I feel like she can be and not what her fear and brain worms drag her down. I love you all and hope whoever is reading this has a great day"
|
||||
}
|
||||
7
pages/blog/rss_item.xml
Normal file
7
pages/blog/rss_item.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<item>
|
||||
<title>#TITLE</title>
|
||||
<category>#CATEGORY</category>
|
||||
<link>#LINK</link>
|
||||
<description>#DESCRIPTION</description>
|
||||
<pubDate>#DATE</pubDate>
|
||||
</item>
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"title": "",
|
||||
"subTitle": "",
|
||||
"date": "",
|
||||
"title": "#TITLE",
|
||||
"subTitle": "#SUBTITLE",
|
||||
"date": "#DATE",
|
||||
"postType": "text",
|
||||
"postText": ""
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,6 +8,12 @@
|
||||
<pubDate>Tue 7 Oct 2025 13:00 GMT</pubDate>
|
||||
<lastBuildDate>Saturday 01 November 2025 18:52 GMT</lastBuildDate>
|
||||
<!--Feed-->
|
||||
<item>
|
||||
<title>Visiting my parents shop</title>
|
||||
<link>https://voidwillow.neocities.org/pages/templates/post.html?02-11-25</link>
|
||||
<description>More website design time with painting signs</description>
|
||||
<pubDate>02 Nov 2025</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Halloween Party</title>
|
||||
<category>Blog Post</category>
|
||||
|
||||
Reference in New Issue
Block a user