[Pkg-mozext-commits] [sage-extension] 06/54: It is called "Atom" and not "ATOM"
David Prévot
taffit at moszumanska.debian.org
Fri May 1 03:10:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag sage_1_3
in repository sage-extension.
commit 1eeacbe56731c62ab30871d8372547b37aebdbff
Author: Erik Arvidsson <erik.arvidsson at gmail.com>
Date: Fri Sep 10 12:49:47 2004 +0000
It is called "Atom" and not "ATOM"
---
src/install.rdf | 8 +++----
src/sage/content/contents.rdf | 56 +++++++++++++++++++++----------------------
src/sage/content/feedlib.js | 14 +++++------
src/sage/content/sage.js | 2 +-
4 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/src/install.rdf b/src/install.rdf
index 6358fc7..1643919 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -3,18 +3,18 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
-
+
<em:id>{a6ca9b3b-5e52-4f47-85d8-cca35bb57596}</em:id>
<em:name>Sage</em:name>
<em:version>1.2</em:version>
-<em:description>A lightweight RSS and ATOM feed aggregator.</em:description>
+<em:description>A lightweight RSS and Atom feed aggregator.</em:description>
<em:creator>The Sage Project</em:creator>
<em:contributor>Peter Andrews</em:contributor>
<em:contributor>flyson</em:contributor>
<em:homepageURL>http://sage.mozdev.org</em:homepageURL>
<em:optionsURL>chrome://sage/content/settings/settings.xul</em:optionsURL>
<em:iconURL>chrome://sage/skin/sage_icon.png</em:iconURL>
-
+
<em:file>
<Description about="urn:mozilla:extension:file:sage.jar">
<em:package>content/</em:package>
@@ -37,7 +37,7 @@
<em:maxVersion>1.0+</em:maxVersion>
</Description>
</em:targetApplication>
-
+
</Description>
</RDF>
diff --git a/src/sage/content/contents.rdf b/src/sage/content/contents.rdf
index 10d20f9..5bb332c 100755
--- a/src/sage/content/contents.rdf
+++ b/src/sage/content/contents.rdf
@@ -1,28 +1,28 @@
-<?xml version="1.0"?>
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
-
- <RDF:Seq about="urn:mozilla:package:root">
- <RDF:li resource="urn:mozilla:package:sage"/>
- </RDF:Seq>
-
- <RDF:Description about="urn:mozilla:package:sage"
- chrome:displayName="Sage"
- chrome:author="sage.mozdev.org"
- chrome:authorURL="http://sage.mozdev.org"
- chrome:name="sage"
- chrome:extension="true"
- chrome:settingsURL="chrome://sage/content/settings/settings.xul"
- chrome:description="A lightweight RSS and ATOM feed aggregator.">
- </RDF:Description>
-
-
- <RDF:Seq about="urn:mozilla:overlays">
- <RDF:li resource="chrome://browser/content/browser.xul"/>
- </RDF:Seq>
-
- <!-- overlay information for Mozilla Firebird-->
- <RDF:Seq about="chrome://browser/content/browser.xul">
- <RDF:li>chrome://sage/content/sage-Overlay.xul</RDF:li>
- </RDF:Seq>
-</RDF:RDF>
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+ <RDF:Seq about="urn:mozilla:package:root">
+ <RDF:li resource="urn:mozilla:package:sage"/>
+ </RDF:Seq>
+
+ <RDF:Description about="urn:mozilla:package:sage"
+ chrome:displayName="Sage"
+ chrome:author="sage.mozdev.org"
+ chrome:authorURL="http://sage.mozdev.org"
+ chrome:name="sage"
+ chrome:extension="true"
+ chrome:settingsURL="chrome://sage/content/settings/settings.xul"
+ chrome:description="A lightweight RSS and Atom feed aggregator.">
+ </RDF:Description>
+
+
+ <RDF:Seq about="urn:mozilla:overlays">
+ <RDF:li resource="chrome://browser/content/browser.xul"/>
+ </RDF:Seq>
+
+ <!-- overlay information for Mozilla Firebird-->
+ <RDF:Seq about="chrome://browser/content/browser.xul">
+ <RDF:li>chrome://sage/content/sage-Overlay.xul</RDF:li>
+ </RDF:Seq>
+</RDF:RDF>
diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index 7278258..f2cda39 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -20,7 +20,7 @@ function Feed(feedXML) {
var rootNodeName = feedXML.documentElement.localName.toLowerCase();
if(rootNodeName == "feed") {
- this.parseATOM();
+ this.parseAtom();
} else if(rootNodeName == "rss" || rootNodeName == "rdf") {
this.parseRSS();
} else {
@@ -132,16 +132,16 @@ Feed.prototype.parseRSS = function() {
}
}
-Feed.prototype.parseATOM = function() {
+Feed.prototype.parseAtom = function() {
var feedXML = this.feedXML;
var firstElement = feedXML.documentElement;
if(firstElement.hasAttribute("version")) {
- this.feedFormat = "ATOM (" + firstElement.getAttribute("version") + ")";
+ this.feedFormat = "Atom (" + firstElement.getAttribute("version") + ")";
} else {
- this.feedFormat = "ATOM (?)";
+ this.feedFormat = "Atom (?)";
}
for(var i = feedXML.documentElement.firstChild; i != null; i = i.nextSibling) {
@@ -215,7 +215,7 @@ Feed.prototype.parseATOM = function() {
} else if(summaryNodes.length) {
item.content = CommonFunc.getInnerText(summaryNodes[0]);
}
-
+
var tmpFeedItem = new FeedItem(item.title, item.link, item.content, item.pubDate);
if(tmpFeedItem.hasPubDate()) {
@@ -464,10 +464,10 @@ function iso8601ToJSDate(date_str) {
} else {
tmp_date = "Invalid Date";
}
-
+
if (tmp_date == "Invalid Date") {
return null;
} else {
return tmp_date;
}
-}
\ No newline at end of file
+}
diff --git a/src/sage/content/sage.js b/src/sage/content/sage.js
index 4b0cded..dc5636e 100755
--- a/src/sage/content/sage.js
+++ b/src/sage/content/sage.js
@@ -491,7 +491,7 @@ function httpLoaded(e) {
httpGetResult(RESULT_OK);
break;
default:
- // Not RSS or ATOM
+ // Not RSS or Atom
httpGetResult(RESULT_NOT_RSS);
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git
More information about the Pkg-mozext-commits
mailing list