Skip to content

Commit

Permalink
move tryagain var to top
Browse files Browse the repository at this point in the history
  • Loading branch information
publicsite authored Nov 2, 2024
1 parent 50da54f commit 5d08731
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions J05HYYY/ukNewsAggregator.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<title>UK News Aggregator</title>
<script src="https://cdn.jsdelivr.net/gh/abdmob/x2js/xml2json.js"></script>
<script>

var tryagain=405;

function matchingFunction(title, description){

if ( description != "" )
Expand Down Expand Up @@ -296,8 +297,6 @@
//document.body.innerHTML = JSON.stringify(myobj.item);

}

var tryagain=405;

function xmlhttpPost(strURL, feed_name, index) {
//var newurl = 'https://api.allorigins.win/json?url=';
Expand Down Expand Up @@ -337,7 +336,7 @@
}

function aggregate(){

var feed_urls = [
"https://www.dailymail.co.uk/articles.rss",
"https://www.express.co.uk/posts/rss/77/news",
Expand Down

0 comments on commit 5d08731

Please sign in to comment.