Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 26 Sep 2026 - @242.94
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: :defrag: Lo and Behold :defrag: Guild Events: MelonLand's Seasonal RPG Jam
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  How to set up an RSS feed for your website.


« previous next »
Pages: [1] Print Embed
Author Topic: How to set up an RSS feed for your website.  (Read 2904 times)
shevek
Hero Member ⚓︎
*****
View Profile WWW


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷
⛺︎ My Room
iMood: daintyeco

Artifacts:
Great Posts PacmanThanks for being rad!First 1000 Members!Joined 2023!
« on: Spring, 23 Apr 2023 @913 » Toggle Font Embed

Me again today! :drat:

To be honest, even after researching, I feel like a total noob about implementing RSS on my website, so I need to ask for help. I have two sites in there that update periodically, my Steam Deck modding journal and my Toybrick castle journal. I would love to offer people to subscribe via RSS so they know when a new entry is made on these instead of having to manually check.
I just honestly have zero idea how to do it or what to look out for especially in regards to edits - will all edits be regarded as new activity and sent out, or how can I signify a new post when they're all on the same page and just separated by dates?

I would love your input.

Logged

Odo was just an idea. Shevek is the proof.
Còbra!
Hero Member ⚓︎
*****
View Profile WWW


’S fhearr Albais bhriste na Albais sa chiste
⛺︎ My Room
StatusCafe: cobradile
Matrix: Chat!
XMPP: Chat!
iMood: Cobradile
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!Great Posts PacmanHappy Birthday 2k24 !First 1000 Members!OG! Joined 2021!
« Reply #1 on: Spring, 23 Apr 2023 @925 » Toggle Font Embed

I use easy feed editor to make the feeds, and then to insert them into the website I use this code:
Code
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="yourfeed.xml" />
This is the code to tell the browser "Hey, we have an RSS feed!" and the browser adds the icon to the URL, or whatever they do with the feeds.

I also extract from the RSS feed to populate my website's news section using Javascript:
Code
let xmlContent = '';
        let news = document.getElementById('news');
        fetch('rss.xml').then((response)=> {
            response.text().then((xml)=>{
                xmlContent = xml;

                let parser = new DOMParser();
                let xmlDOM = parser.parseFromString(xmlContent, 'application/xml');
                let entries = xmlDOM.querySelectorAll('item');

                entries.forEach(entry => {
                    let entryblock = document.createElement('div');
                    entryblock.setAttribute("class", "newsItem");
                    //author
                    let content = document.createElement('strong');
                    const date = new Date(Date.parse(entry.children[1].innerHTML));
                    content.innerText = date.getDate() + "/" + (date.getMonth() + 1) + "/" + date.getFullYear() + " ";
                    entryblock.appendChild(content);
                    
                    content = document.createElement('span');
                    console.log(entry);
                    content.innerHTML = entry.children[2].childNodes[0].nodeValue;
                    entryblock.appendChild(content);
                    
                    news.appendChild(entryblock);
                });
                
            });
        });   

The children and where they are depend on what details you add to your feed (Like author, tags, preview image, etc.).

Hope this helps

Logged


http://internetometer.com/image/51163.png

https://i.imgur.com/leo4ZYP.pnghttps://i.imgur.com/C3gPKb3.png"He/Him (Nature green star)""Cis Ally""Pan: Straight Lean"https://i.imgur.com/kI850Ts.pnghttps://i.imgur.com/pkY2oAO.pnghttps://imgur.com/QUBFnZD.pnghttps://i.imgur.com/cjVsXOX.pnghttps://i.imgur.com/G8AyR6r.pnghttps://i.imgur.com/0HBKL8H.pnghttps://i.imgur.com/YMPbu9R.png

“Snooping as usual, I see?”
Memory
Guest

« Reply #2 on: Spring, 23 Apr 2023 @931 » Embed

[removed by author]

« Last Edit: Summer, 31 Jul 2024 @617 by Memory » Logged
tarraxahum
Sr. Member ⚓︎
****
View Profile WWWArt


Xx_O_o_xX
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tarraxahum
Matrix: Chat!
iMood: tarraxahum

Guild Memberships:
Artifacts:
First 1000 Members!Joined 2022!
« Reply #3 on: Spring, 23 Apr 2023 @932 » Toggle Font Embed

I use easy feed editor to make the feeds,

holy heck where was this when I was figuring out RSS for my sites >:(

gotta save for future use

Logged


https://tarraxahum.neocities.org/pofub.png
https://i.postimg.cc/3Nyfy9zP/userbar.png
https://i.postimg.cc/13ZPQNNr/uservodka.png
"Why change the past, when you can own this day?" (c)
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
You're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top HatI got robbed by Dan Q on Melonland!
« Reply #4 on: Spring, 23 Apr 2023 @933 » Toggle Font Embed

@m15o offers a web service that automatically generates feeds for you if you have your blog formatted in a certain way on your site - you just need to enter your page URL and it'll make the feed for you - https://forum.melonland.net/index.php?topic=379.0

I use it on my site (along with my own custom feed gen) and it seems to work pretty well!  :happy:

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: black n cyan yappin kittayHave a chillpillThe Wizards OrbRed Tulip100 coins<3eyntivemds pet fishcurious fishPlank
shevek
Hero Member ⚓︎
*****
View Profile WWW


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷
⛺︎ My Room
iMood: daintyeco

Artifacts:
Great Posts PacmanThanks for being rad!First 1000 Members!Joined 2023!
« Reply #5 on: Spring, 24 Apr 2023 @402 » Toggle Font Embed

Thank you all a lot, I will look into it! :unite: the solution by m15o might even work the best, since I already use their layout for these pages! I even saw the HTML Journal thing on statuscafé, but I never knew it was about RSS feeds.

Logged

Odo was just an idea. Shevek is the proof.
Memory
Guest

« Reply #6 on: Spring, 24 Apr 2023 @669 » Embed

For editing RSS by hand (which is not too hard):

This line goes into the head part of every HTML page to detect your RSS feed:
Code
<link rel="alternate" type="application/rss+xml" title="Feed" href="feed.xml">
The RSS file is a simple text file (in my example, it's called "feed.xml"). In your HTML code, link to the RSS file like you would link to an image on your page. As I have the RSS file and the HTML pages in one directory, I can link directly to it without needing to specify any further directories (see under "href", there is just the file name of the RSS file).


The feed.xml looks like this:
Code
<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Goose Attack Feed</title>
    <link>http://goose-attacks.at/</link>
    <description>New geese attack information on this feed!</description>
    <language>de-de</language>
    <copyright>Gans</copyright>
    <pubDate>20.04.21</pubDate>

  <item>
   <title>New old scrap!</title>
   <category>Tech</category>
   <description>Lots of new scrap available!</description>
   <link>scrapyard.htm</link>
   <author>Gans</author>
   <guid>scrapyard.htm</guid>
   <pubDate>01.12.22</pubDate>
  </item>

  </channel>
</rss>
When you have something new to present, you just copy one block between the <item>-tags and alter all the things. That's not the automated professional way, but if you're just using it, let's say, monthly, it's not that much work.

Logged
EdgyRabbid
Sr. Member ⚓︎
****
View Profile WWWArt


⛺︎ My Room
StatusCafe: edgyrabbid
iMood: EdgyRabbid

Guild Memberships:
Artifacts:
I met Dan Q on Melonland!Raymans Husband!SkeleraveJoined 2025!
« Reply #7 on: Autumn, 28 Oct 2025 @833 » Toggle Font Embed

⚑ Moderators Note ⚑
Merged into an older thread ^^

So.

I had an idea to set up an RSS feed on my website to link all my favourite websites, but im not sure how to make an RSS feed on my website. How do i do it?

« Last Edit: Autumn, 28 Oct 2025 @983 by Melooon » Logged

https://i.ibb.co/Q7WhR6bG/0x0830-C1-D4-96-4.gif
http://internetometer.com/imagesmall/51063.png
i AM in LOVE WITh RaYMaN XxX
Play NETPETS today!
hikatamika
Jr. Member ⚓︎
**
View Profile WWW


Alien from Pluto
⛺︎ My Room
RSS: RSS

Artifacts:
Sonic - SA2 Life IconTVred crossJoined 2025!England
« Reply #8 on: Autumn, 28 Oct 2025 @840 » Embed

Depends on how your site is written.

Do you write every page as a document from scratch? Use source documents put together by a static site generator? Use PHP?
The answer will vary depending on what's true for your site.

Here's a really good reference on absolutely, from-scratch, handwritten, RSS feeds and entries.

Logged

https://cdn.imgchest.com/files/25297249ea1b.png
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Enter Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe