Thread Rating:
Nexus system feature requests
01-25-2019, 10:33 PM
Cory, we have rolled out RSS feeds for the blurb and the Comments. It should be easy enough to incorporate those into a website by using jquery.
I have thrown together a quick example here for you.
Disclaimer: I'm not a pro at jQuery and there may be a better way, this is just one way
If you have posted a blurb, either go to your Control Panel and get the RSS feed link or on your MyPage there will be a RSS feed link available. Copy the link to your Blurb RSS Feed. In your case, it would be https://planetnexus.net/nexsys/rss/168
However, since you haven't made a blurb (as of yet), we will use my blurb link which is https://planetnexus.net/nexsys/rss/2
Now, put a division where you would like the blurb to be displayed:
Afterwards, put the following:
You should now have the posted blurb displayed inside the division you created with an ID of rssfeed.
Here's an example of it in action: https://planetnexus.net/nexsys/blurb-rss-test
Disclaimer 2: no styling has been used to make it pretty and such
I have thrown together a quick example here for you.
Disclaimer: I'm not a pro at jQuery and there may be a better way, this is just one way
If you have posted a blurb, either go to your Control Panel and get the RSS feed link or on your MyPage there will be a RSS feed link available. Copy the link to your Blurb RSS Feed. In your case, it would be https://planetnexus.net/nexsys/rss/168
However, since you haven't made a blurb (as of yet), we will use my blurb link which is https://planetnexus.net/nexsys/rss/2
Now, put a division where you would like the blurb to be displayed:
Code:
<div id="rssfeed"></div>
Afterwards, put the following:
Code:
<script>
$.get("https://planetnexus.net/nexsys/rss/2", function(data) {
var $RSS = $(data);
$RSS.find("item").each(function() {
var $this = $(this),
item = {
title: $this.find("title").text(),
description: $this.find("description").text()
};
$('#rssfeed').append($('<div id="feedtitle">').html(item.title));
$('#rssfeed div#feedtitle').after($('<div>').html(item.description));
});
});
</script>
You should now have the posted blurb displayed inside the division you created with an ID of rssfeed.
Here's an example of it in action: https://planetnexus.net/nexsys/blurb-rss-test
Disclaimer 2: no styling has been used to make it pretty and such
Messages In This Thread
Nexus system feature requests - by Helena - 01-24-2019, 05:31 PM
RE: Nexus system feature requests - by Cory - 01-24-2019, 08:53 PM
RE: Nexus system feature requests - by Skyon Archer - 01-24-2019, 09:07 PM
RE: Nexus system feature requests - by Helena - 01-24-2019, 09:16 PM
RE: Nexus system feature requests - by Skyon Archer - 01-25-2019, 12:12 AM
RE: Nexus system feature requests - by Cory - 01-25-2019, 01:16 AM
RE: Nexus system feature requests - by Skyon Archer - 01-25-2019, 01:18 AM
RE: Nexus system feature requests - by Skyon Archer - 01-25-2019, 10:33 PM
Users browsing this thread: 2 Guest(s)