stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Compromise on Atom and XML







Compromise on Atom and XML

Compromise on Atom and XML 01/17/2004 10:45 PM

Tim Bray suggested a setting for how strict a parser should be with a given feed. Eric Albert suggested a smiley face (as in iCab) to distinguish well-formed from non-well-formed feeds.

I’ve gotten lots of email on the topic of Atom and requiring well-formed XML. I’ve read about this topic pretty much everywhere it’s popped up. And I conclude, reluctantly, that a compromise is the best thing.

I encourage Nick Bradbury—and any other aggregator developer who was planning on requiring XML well-formed-ness for Atom feeds—to take a similar position. Nobody should take a bullet over this.

What I plan to do in NetNewsWire is something like the following—though details may change, of course.

1. Have global and per-feed settings for requiring well-formed XML. The default will be no, to not require it. My Atom and RSS parsers will both work around non-well-formed feeds in the same way. (They’ll most likely use the same code.)

2. Have an optional indicator of some kind that displays when a feed isn’t well-formed XML. (Probably not a little frowny face, but who knows.) This feature will also be turned off by default.

3. Make the Validate this Feed command more visible. Right now it’s available only through a contextual menu; it should be easier to find and use.

If you’re a NetNewsWire user, and you don’t care about this issue, it will stay out of your way. You’ll notice an extra pref and a command in the menu bar, but NetNewsWire won’t be complaining about non-well-formed feeds all the time.

You’re not expected to care about this issue, by the way—you want to read the news. That’s totally cool.

And me, I just want to get back to work fixing bugs and adding new features.




This is a GrokNews Entry: (what is grok?)





Similar Items

Compromise on Atom and XML

Grok Headline matches for Compromise on Atom and XML

Cars To Be Assembled Atom By Atom


Cars To Be Assembled Atom By Atom 06/20/2004 12:47 PM

Compromise


Compromise 02/13/2004 09:23 PM
Even though I haven't the fogggiest idea about the backstory to this vanity license plate, I like to think of this as the quintessential compromise of a very confused couple....

Why the compromise?


Why the compromise? 01/17/2004 10:45 PM
So—why the compromise position? Taken together, these reasons added up.

1. Most users don’t care about this issue; they want to read the news.

The reason NetNewsWire is forgiving with RSS feeds is because other aggregators that came before NetNewsWire were too. Did I get bug reports like “I can’t read this feed in NetNewsWire, but I can read it in x?” Yes.

2. There’s the prisoners dilemma.

Given that only one other aggregator developer was willing to require well-formed-ness for Atom, I was going to get bug reports for Atom feeds. “It works in x, but not in NetNewsWire, it must be NetNewsWire’s bug, right?”

I don’t have time to spend on bug reports for bugs that aren’t even my bugs.

3. There’s an issue of perceived bias.

The reason I wrote my own weblog software was so that people wouldn’t suspect that my software is designed to work best with system x. There’s a similar issue here: I’m on the RSS Board, and yet I don’t want people to think NetNewsWire is designed to work against Atom.

There are some ironies here, of course—one of them being that I believed that my initial choice was the best thing for Atom. (One person jokingly suggested I be removed from the RSS board for being too good to Atom.)

In fact, I still believe my initial choice was the best thing for Atom.

But my job is writing software that people like; my job is not to take care of Atom.

International DNS compromise?


International DNS compromise? 08/05/2004 02:00 PM
Zhen Shi (Aug 04 2004)

Re: International DNS compromise?


Re: International DNS compromise? 08/05/2004 04:08 PM
John Kinsella (Aug 05 2004)

Motorola May Compromise on UWB


Motorola May Compromise on UWB 02/17/2004 10:30 AM
Report says Motorola may over bridge proposal to bring unity to UWB development: Motorola, which acquired XtremeSpectrum, represents one camp in the IEEE 802.15.3a task group designed for high-speed, short-distance connectivity for 110 to 480 Mbps networking. UWB was decided on as the physical flavor months ago, but the Multi-band OFDM Alliance (Intel, TI, et. al) and Motorola have two competing and incompatible proposals. An olive branch could coalesce the differences, avoiding a standards war....

XP hole could compromise system


XP hole could compromise system 01/27/2004 12:34 PM
A hole has been discovered in Windows XP Professional and Home Edition that could compromise a network and be used to get into protected areas.

Don't let ADO compromise application
performance


Don't let ADO compromise application
performance
07/01/2002 08:28 AM
CNET Jun 29 2002 10:16PM ET

on the compromise of e2e that is our
cellphone network


on the compromise of e2e that is our
cellphone network
06/24/2005 07:26 PM
Walter Mossberg has a great column about (as I would translate it) the costs of compromising end-to-end on the cellphone network.

Compromise Reached on S.C. Tattoo Ban
(AP)


Compromise Reached on S.C. Tattoo Ban
(AP)
05/20/2004 11:23 AM
AP - South Carolina is close to removing its ban on tattoos after a legislative conference committee agreed to a compromise bill Thursday.

Compromise Likely of Serious Windows SSL
Vulnerability


Compromise Likely of Serious Windows SSL
Vulnerability
04/23/2004 07:16 PM
Internet security agencies warned on Friday that a worm appears to be exploiting a known, serious Secure Sockets Layer vulnerability in Windows.

TGn Sync Wins, But Must Compromise in
802.11n


TGn Sync Wins, But Must Compromise in
802.11n
03/19/2005 02:24 AM

A report from the IEEE 802.11n task group says that TGn Sync won 56 percent of the vote: However, in the IEEE voting rules, that only provides provisional support. TGn Sync must now solicit more than 75 percent of the vote for their draft to become the proposal that's refined and eventually ratified. If they can't achieve a 75-percent supermajority for a revision of their proposal in May--or possibly even subsequent meetings--the vote rolls back to trying to get 50 percent support for a single proposal to move forward on.

In the 802.15.3a group on ultrawideband, for instance, no proposal reached the supermajority, and the process has been stalled while individual alliances and companies have separately moved forward on developing against their own group or company standards.

Update: Wi-Fi Planet has a great summary of this with a bit more procedural detail.


Kremlin denies Yukos compromise


Kremlin denies Yukos compromise 08/05/2004 12:21 PM
The Russian justice ministry says it never gave permission for Yukos to access bank accounts to keep its operations running.

Zip file encryption compromise thrashed
out


Zip file encryption compromise thrashed
out
01/22/2004 03:09 AM
Windows archive love-in

Compromise Reached on New York's WTC
Tower


Compromise Reached on New York's WTC
Tower
12/16/2003 11:19 AM
Reuters via Wired News Dec 16 2003 10:34AM ET

U.S. seeks compromise with cleric
(USATODAY.com)


U.S. seeks compromise with cleric
(USATODAY.com)
01/17/2004 10:42 PM
USATODAY.com - The Bush administration summoned its top Iraq envoy to the White House for urgent talks Friday on how to accommodate demands by Iraq's most powerful Muslim cleric for direct elections.

Validate on Subscription (or, my turn to
compromise...)


Validate on Subscription (or, my turn to
compromise...)
01/22/2004 02:40 AM

Sam Ruby proposes that aggregators validate on subscription, and I have to confess that this makes more sense than my stated position of req uiring Atom feeds to be well-formed.

What Sam suggests is that aggregators such as FeedDemon inform of validation errors only when first subscribing to a feed. After informing the user of the fact that these errors might affect how the feed displays, the aggregator should continue to subscribe and not show any further indication that the feed is invalid. The hope is that this would gently persuade feed creators to pay attention to validation problems without stopping end users from reading invalid feeds.

After accepting that Sam's idea makes more sense than my own (which took all of two minutes!), I started coding this into FeedDemon. When a user subscribes to a feed, FeedDemon checks it for well-formedness, and if any problems are found the dialog shown below is displayed:

Proposed validation error dialog

Clicking the "Details" button shows the text of the validation error, and a link to the online Feed Validator provides a way for authors to check the feed for additional problems.

My hope is to include this in the next build of FeedDemon. As always, I'm open to other suggestions, so please post a comment here if you think this can be improved (or if you think it's a bad idea altogether).


Local root compromise possible with
getmail


Local root compromise possible with
getmail
09/20/2004 07:05 PM
David Watson (Sep 19 2004)

Kernel flaw behind Debian compromise


Kernel flaw behind Debian compromise 12/02/2003 01:22 PM
Computer Shopper Dec 2 2003 12:23PM ET

It seems to be a good way to strike a
compromise. Companies


It seems to be a good way to strike a
compromise. Companies
09/19/2004 02:40 AM
TechTree Sep 19 2004 5:42AM GMT

Google Seeking Compromise on Gmail


Google Seeking Compromise on Gmail 05/19/2004 11:48 PM
theWHIR May 20 2004 4:10AM GMT

Nextel Says Compromise Won't Work
(washingtonpost.com)


Nextel Says Compromise Won't Work
(washingtonpost.com)
05/11/2004 10:14 PM
washingtonpost.com - Nextel Communications Inc. yesterday told the Federal Communications Commission it won't accept a compromise being discussed by the commission, which has spent more than two years trying to find a way to minimize cellular call interference with public safety communications.

Senate seeks Internet tax compromise


Senate seeks Internet tax compromise 04/27/2004 06:39 PM
FXstreet.com Apr 27 2004 10:55PM GMT

MARID Floats Sender ID Compromise


MARID Floats Sender ID Compromise 09/08/2004 04:23 PM
With a seemingly impassible fissure between the open source community and Microsoft delaying authenticated e-mails, a workaround might be the answer.

Kernel Exploit Cause Of Debian
Compromise


Kernel Exploit Cause Of Debian
Compromise
12/02/2003 12:27 AM
Slashdot Dec 1 2003 6:52PM ET

Compromise Spec, IEEE 1394 On Tap For
UWB


Compromise Spec, IEEE 1394 On Tap For
UWB
02/17/2004 01:17 AM
Motorola Inc. execs are preparing a surprise compromise proposal to remove the ultrawideband standards logjam, which could eventually replace Bluetooth. Meanwhile, Intel Corp. this week plans to demonstrate wireless versions of IEEE 1394, USB, and other services running on early third-party UWB silicon.

Senate committee OKs Internet compromise
bill


Senate committee OKs Internet compromise
bill
04/14/2005 09:16 AM
Tallahassee.com - Thu Apr 14, 10:22 am GMT

Ongoing Linux/Solaris Compromise
Epidemic


Ongoing Linux/Solaris Compromise
Epidemic
04/13/2004 07:53 PM

Internet tax compromise bill moves ahead


Internet tax compromise bill moves ahead 04/29/2004 05:52 PM
FXstreet.com Apr 29 2004 9:15PM GMT

Induce Act Compromise Plan To Be Written
By Those Who Think Its Too Weak


Induce Act Compromise Plan To Be Written
By Those Who Think Its Too Weak
08/18/2004 05:22 AM
Back when Senator Hatch held his heari ng about the Induce Act, he said he wanted to work with those who had concerns about the bill to come up with a compromise. Of course, what he actually was saying was that they were going to shove this bill through, no matter what, and so rather than pointing out that it wasn't needed at all, he expected everyone to get in line. If they had complaints, they should be focused on how to change the bill, not questioning why it was needed at all. With that in mind, it's no surprise that Hatch and other Senators have turned the "compromise" process over to the the Register of Copyrights, Marybeth Peters, whose testimony suggested that, rather than compromise, she favored making the bill even more stringent, and doing away with the Betamax precedent altogether. In Peters' world, it appears, there are no legitimate uses of technology other than what Hollywood says the technology should be used for. As Ernest Miller points out: "Asking Marybeth Peters to play a leadership role with regard to legislative changes to copyright law is like asking Dr. Jack Kevorkian to play a leadership role with regard to legislative changes to euthanasia law." It becomes clear that it's not about "compromise" at all, but pushing through a specific point of view. Peters was the only person at the hearings (out of four) who thought the law made real sense. Even the BSA representative, who had initially supported the law had been convinced to back down. So, why does the one supporter get control? Because it's clear that Hatch isn't trying to really fix a problem, but he's going to do whatever possible to get this law passed -- good or bad.

Whaling Commission meeting wraps up with
a compromise


Whaling Commission meeting wraps up with
a compromise
07/25/2004 11:12 AM
The 56-member International Whaling Commission (IWC) held their annual meeting this week in Sorrento, Italy, amidst growing unrest from a group of member nations who were determined to lift the 18-year old ban on commercial whaling. While the ban remains in place for now, the meeting evidenced "deep divisions" between those countries who would end the ban, and those who fear for some species of whale if it is lifted. In the end, a compromise was declared by William Hogarth, the commissioner to the commission. Yet, there is little doubt that the "coalition of the willing" - those nations who, for whatever reason, are ready to begin killing the world's most majestic mammals again - is growing. In all likelihood, the ban will be lifted in the future, in light of the current trends and support.

Iraqis Press U.S. for Compromise to Gain
Self-Rule


Iraqis Press U.S. for Compromise to Gain
Self-Rule
01/22/2004 11:05 PM
The Bush administration is under growing pressure to shift course and transfer power to an expanded version of its handpicked Iraqi Governing Council.

PKWare and Winzip Reach A Secure Zip
Compromise


PKWare and Winzip Reach A Secure Zip
Compromise
01/26/2004 09:12 AM

PuTTY Unspecified System Compromise
Vulnerability


PuTTY Unspecified System Compromise
Vulnerability
08/05/2004 01:56 AM

Direct and Related Links for 'PuTTY Unspecified System Compromise Vulnerability'

“Core Security Technologies has discovered a vulnerability in PuTTY, which can be exploited by malicious people to compromise a user’s system….Solution: Update to version 0.55….

Sony Shows Signs of Compromise with HD
DVD (NewsFactor)


Sony Shows Signs of Compromise with HD
DVD (NewsFactor)
03/25/2005 05:12 PM
NewsFactor - Sony (NYSE: SNE), one of the main supporters of the Blu-ray standard for high definition video storage, is signaling it may consider unifying the format with the rival standard, HD-DVD.

Six Step IE Remote Compromise Cache
Attack


Six Step IE Remote Compromise Cache
Attack
11/05/2003 12:11 PM
Liu Die Yu (Nov 05 2003)

Two Vulnerabilities in Mozilla may lead
to remote compromise


Two Vulnerabilities in Mozilla may lead
to remote compromise
07/13/2004 12:06 PM
Mind Warper (Jul 13 2004)

Re: Two Vulnerabilities in Mozilla may
lead to remote compromise


Re: Two Vulnerabilities in Mozilla may
lead to remote compromise
07/13/2004 03:46 PM
Philliph (Jul 13 2004)

Re: RE: Six Step IE Remote Compromise
Cache Attack


Re: RE: Six Step IE Remote Compromise
Cache Attack
11/06/2003 01:30 PM
Steven M. Christey (Nov 05 2003)
Grok Description matches for Compromise on Atom and XML
GrokA matches for Compromise on Atom and XML

Test-utf8-0.02


Test-utf8-0.02 09/10/2004 07:16 AM

Test-utf8-0.01


Test-utf8-0.01 09/09/2004 06:37 PM

Atom use XML-RPC


Atom use XML-RPC 02/19/2004 11:26 AM

It's fascinating to read the comments on Russell Beattie's post about the Atom API. His concern is that he won't be able to build a client that talks to a weblog server through his Java toolkit because it doesn't allow the HTTP methods the API calls for. Further, he notes that the spec, which was openly developed, has a restrictive copyright.

The best answer is obvious, imho, use XML-RPC because it already has been adapted to and debugged in all the environments where blogging APIs need to run. By cutting almost to the bottom of the stack you will have to redo everything that took years to do. I think it's going to take longer to redo because XML-RPC didn't need to get any Java toolkits to change, it treaded more softly than the Atom does.

There's a practical side to protocol and format design that's missing in the Atom API. The goal is to make it easy for developers to hop on the bandwagon and get them committed to developing for the platform. Putting unnecessary hurdles in the way unnecessarily limits adoption, and virtually guarantees either stagnation or massive breakage. I can't imagine that either choice is what Google is looking for.

XML-RPC was designed for what they want to do and it's stood the test of time. Learn to love the pragmatic, it's how you're going to win the wars with Yahoo, Microsoft and everyone else who wants to eat your lunch.


RSS, Atom...and SDF?


RSS, Atom...and SDF? 04/29/2004 09:16 AM

Daniel Henry calls for unity in the syndication war by proposing a new format called SDF.

I haven't had a chance to really read the spec, but David has obviously put a lot of effort into it. Although I'm certainly not wild about yet another feed format, if SDF every gets widely used I'll support in FeedDemon.


XML-Atom-0.05


XML-Atom-0.05 01/06/2004 05:39 AM

Atom API in MT3


Atom API in MT3 08/07/2004 05:27 PM
ben's docs are great, and all the API features are the same in TypePad

Have Atom


Have Atom 12/22/2003 09:07 AM

At the moment this information will be useful to a small roomful of people, but this site is now serving an Atom 0.3 feed here. It should v alidate.

I’d planned all along to fold Atom support into rhymes-with-vexed-slattern; I’ve finally got around to it now that the spec is looking pretty solid with version 0.3.

For those to whom this is all Greek, Atom is a new form of AI technology that listens to all websites simultaneously, looking for anyone badmouthing you and those batting for your team; Atom responds by firing back custom-made insults and denunciations including but not limited to accusations of hypocrisy and pot-kettle-black.


XML-Atom-0.041


XML-Atom-0.041 12/15/2003 05:44 PM

RT-Atom-0.02


RT-Atom-0.02 08/03/2004 11:45 PM

XML-Atom-0.09


XML-Atom-0.09 07/30/2004 07:06 AM

RT-Atom-0.01


RT-Atom-0.01 07/12/2004 05:30 PM

XML-Atom-0.08


XML-Atom-0.08 06/02/2004 05:31 AM

XML-Atom-0.07


XML-Atom-0.07 05/16/2004 12:34 AM

Atom.NET 0.4.1


Atom.NET 0.4.1 05/13/2004 02:07 PM
A library to generate and parse Atom XML feeds.

W3C wants Atom


W3C wants Atom 05/13/2004 01:59 PM

Looks like the W3C wants the Atom community to work through them.

I'm undecided whether or not I'm for this. On the one hand, the W3C certainly has the tools to promote and document Atom. On the other hand, adding Atom to their semantic web effort could make Atom even more complex - and simplicity is what makes RSS so great, despite it's imprecise specification (via Scoble).


XML-Atom-0.06


XML-Atom-0.06 04/25/2004 12:16 AM

Atom at W3C?


Atom at W3C? 05/14/2004 10:52 AM
I wonder how the draft <a href="http://www.intertwingly.net/wiki/pie/IetfCharter">IETF Charter</a> would need to change in order to become a <a href="http://www.intertwingly.net/wiki/pie/W3cCharter">W3C Charter</a>.  It would seem to me that someone from the W3C would be in the best position to answer this.  Any takers? ...

What Are RSS and Atom?


What Are RSS and Atom? 04/17/2004 03:19 PM
RSS and Atom are formats for syndicating lists of items. Items can be anything and each item typically contains a... (63 words)

XML-Atom-0.04


XML-Atom-0.04 12/15/2003 04:42 AM

XML-Atom-0.03


XML-Atom-0.03 12/05/2003 10:15 AM

sam on atom


sam on atom 12/30/2003 01:16 AM

Sam posts his thoughts and plans regarding Atom and how he will maintain RSS support for his weblog. Thanks Sam! Every bit of information helps.


Atom + CSS


Atom + CSS 10/29/2003 12:31 PM

I tried some minimal css on an experimental Atom feed and the results started to look promising - on Mozilla.  View source to see how it was done.

I then brought up the same page under IE, and it looks like IE didn't support a number of CSS features.  Worse, it seems to be stripping and/or interpreting escaped markup.  Finally, view source is not available.

Poking around to see if there were any workarounds, I came across this article by Tim Bray from 3.5 years ago...

Sigh.


XML-Atom-0.10


XML-Atom-0.10 01/01/2005 12:54 AM

The Atom API


The Atom API 10/28/2003 11:06 PM
In his latest Dive into XML column Mark Pilgrim explains the basic operations of the Atom API, with special reference to the precedent APIs.

Why We Need Atom Now


Why We Need Atom Now 04/04/2005 12:16 AM
We’re getting real, real close to sending the Atom data-format draft off for general IETF review; the rest of the process can’t happen too fast for me, because there are two big problems that bite me every day that Atom will give the engineers the tools to fix...

is asking Atom to work with it


is asking Atom to work with it 05/13/2004 11:03 PM
made a public statement .. W3C stated publicly .. The W3C wants Atom

w3.org/2004/05/10-atom
track this site | 5 links


XML-Atom-Syndication-0.03


XML-Atom-Syndication-0.03 04/18/2004 05:49 AM

XML-Atom-Lifebl0g-0.01


XML-Atom-Lifebl0g-0.01 03/29/2005 04:42 AM

XML-Atom-Lifebl0g-0.02


XML-Atom-Lifebl0g-0.02 03/31/2005 08:58 AM

Compromise on Atom and XML

The following phrases have been identified by the grok system as matching this entry: xml::atom utf8

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Why the compromise?
Robb Beal on
ignoring indie apps

Iowa!
Tom's Reviews
Expensive, Noiseless
Case

Communicating With
Software-Development
Managers

How to Cheat Google
AdWords Select -
Part 3

Saturn V Fallen on
Hard Times

Student Fights
University Over
Plagiarism-Detector

Oracle Embraces
Mozilla

Nokia to Port Perl
to Mobiles

Are Geeks in Saudi
Arabia Just Like Us?

Bleak Future for
Videogame Customers

Linux Conf 2004
Gives in Many Ways

Open Source Awards
2004

Local News Anchor
Feels Pain from Afar

20 Year Anniversary
of Home Taping
Decision

Sun's new UltraSPARC
workstation: the
Blade 1500

P2P File Swapping on
the Rise Again?

Linux Advisory Watch
- January 16, 2004

FreedroidRPG 0.9.10
released

Quartz 1.3.0
Released

AntRunner 2.1
released

PHP Class
'Clickatell SMS API'
released

PHP Class 'Hash'
released

Using PHP 5's
SimpleXML

Using PHP 5
SimpleXML

Server Style
Innovation to drive
chip performance
curve.

SATA Suppliers Ready
for Onslaught.

10-Gig switches duke
it out.

The myth of the
embedded Linux tools
market.

MIT Spam Conference
looks beyond
filters.

Linux and open
source opportunities
in the Mideast

The true cost of
software ownership

Blogging Job
Interviews

House Hunting,
Weekend #1

Wake Up Space Cadets
Blazing trails with
RSS

Adding Feeddemon to
Internet Explorer

Diesel Sweeties
Comic in RSS

WebSite-Watcher
Blogdigger Blog
Human Rights Watch
CoffeeGeek
News Choice
Warner Bros. Records
FilmFeed
GMability
Apple Computer
Knowledge Base

Clickwrestle
what is grok?