All Questions
Tagged with rss javascript
623 questions
1
vote
1
answer
46
views
How to create a success message in JS
I am trying to create a project - RSS reader and I have a problem.
After I adding new RSS Feed I don't have a message under URL input about successful RSS load.
I tried everything and I can't find a ...
0
votes
0
answers
65
views
How to get more data from RSS Feed?
I created an react native expo app which can fetch and show rss feed data
Suppose on this site https://www.drive.com.au/news/ there are almost 30 posts and show more option but when I fetch the rss ...
0
votes
1
answer
848
views
Fetch and Display RSS Feed on a Web Page
I'm currently working on a project where I need to fetch and display news from an RSS feed on a web page. I'm using the Fetch API in JavaScript to retrieve the data and parse it as XML. However, ...
0
votes
0
answers
36
views
How to extract content correctly from all kind of rss feeds
I'm a well experienced developer, or almost this is what i was thinking before facing this problem. It look so easy to me but i cannot make it work the right way.
I have a list of feed rss, users can ...
0
votes
0
answers
27
views
Serving a webpage content by running a php/python script
I'm trying to set up a RSS for my site. So I would like to make a link that takes in a keyword and produces a RSS feed.
I have a python script (script.py) to generate this xml, but I don't know how to ...
0
votes
0
answers
62
views
Jquery FeedEk not loading Posts
I am using FeedEk (https://github.com/enginkizil/FeedEk) js code to load post on my page , (https://www.colonialstock.com/) under the Latest News And Insights, but code is not load anything there.
Any ...
0
votes
0
answers
46
views
CData not rendered in browser
function feed_fetch(){
const div = document.getElementById('feed');
div.innerHTML = "";
const url = "https://some-rss-url";
fetch(url)
.then(response => ...
1
vote
1
answer
79
views
I have duplicate child elements in my RSS feed. Won't parse it in JavaScript
I'm pulling RSS data from this URL and this is how their data structure looks like.
<item>
<itunes:episodeType>full</itunes:episodeType>
<itunes:season>6</itunes:season>
&...
0
votes
0
answers
36
views
Creating RSS from Javascript formatted data
I have a JavaScript that pulls data from a Weather API that I need to get into an RSS file so it can be read by two broadcast devices.
const api_url = 'API-URL-&-KEY';
let firstTime = true;
async ...
0
votes
0
answers
392
views
React and rss-parser yields Module not found
I'm trying to use rss-parser in my react app.
After installing the library, I implemented the following:
import Parser from 'rss-parser';
let parser = new Parser();
(async () => {
let ...
1
vote
2
answers
39
views
how can spilit img src form this js html variable ( this is rss that i call it )
var a = '<p><img loading="lazy" class="size-full wp-image-6491 aligncenter" src="https://rahaimport.net/blog/wp-content/uploads/2022/10/Export-clearance-clearance.jpg&...
0
votes
0
answers
261
views
How Can I sort my parsed RSS feed by most recent?
I have an RSS parser built in NodeJS, and sometimes feeds aren't sorted in order of the most recent item. How can I modify my existing parser to sort for this information? I know I would use pubDate ...
0
votes
0
answers
34
views
Adding styles with js to the rss feed page doesn't work
I am building a chrome extension. That extension appends an element to the body of the rss feed page.
I append a stylesheet to the head of the page. For the sake of the example let's say:
*{
font-...
0
votes
1
answer
376
views
Howto enable RSS feed autodetection for dynamically added `<link>` tags via JavaScript
Most single-page application (SPA) only ship a minimal static HTML skeleton and then build the entire page dynamically. This also applies to tags in the HTML header <head>.
Today, I ran into a ...
-1
votes
2
answers
1k
views
Browser Same Origin Policy - why is RSS data considered dangerous?
Modern browsers prevent scripts fetching RSS feeds from sites out of the domain of the running script.
The RSS feed gets transmitted but the browser's Same Origin Policy won't let you access it.
Only ...