Message from discussion
Incorrect OPML source for comments
Received: by 10.58.212.198 with SMTP id nm6mr2389505vec.35.1348431062342;
Sun, 23 Sep 2012 13:11:02 -0700 (PDT)
X-BeenThere: frontier-user@googlegroups.com
Received: by 10.220.141.4 with SMTP id k4ls3720279vcu.8.gmail; Sun, 23 Sep
2012 13:11:01 -0700 (PDT)
Received: by 10.52.175.5 with SMTP id bw5mr1575352vdc.16.1348431061936;
Sun, 23 Sep 2012 13:11:01 -0700 (PDT)
Date: Sun, 23 Sep 2012 13:11:01 -0700 (PDT)
From: Zach Thomae <ztho...@gmail.com>
To: frontier-user@googlegroups.com
Message-Id: <f13855c7-6b63-4494-bf24-c636e30ecc04@googlegroups.com>
In-Reply-To: <CAB6FH9jWHPbzjejq+Fg3eLDJrhEFHV-B1fOWaP4JM90UBU1YkA@mail.gmail.com>
References: <fa308912-9d23-448e-968c-45e1665a963a@googlegroups.com>
<CAB6FH9jWHPbzjejq+Fg3eLDJrhEFHV-B1fOWaP4JM90UBU1YkA@mail.gmail.com>
Subject: Re: Incorrect OPML source for comments
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_499_21588093.1348431061639"
------=_Part_499_21588093.1348431061639
Content-Type: multipart/alternative;
boundary="----=_Part_500_7014932.1348431061639"
------=_Part_500_7014932.1348431061639
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I tested it on a few comments, and yes, it works on them now.
However, it doesn't work on the comments outline page<http://comments.scripting.com/>--same
problem.
Zach
On Sunday, September 23, 2012 3:02:15 PM UTC-5, Dave Winer wrote:
>
> It should work now.
>
>
> http://worknotes.scripting.com/september2012/92312ByDw/gettingOpmlForComments
>
> Dave
>
>
>
> On Sun, Sep 23, 2012 at 12:38 PM, Zach Thomae <zth...@gmail.com<javascript:>
> > wrote:
>
>> When I try to download the OPML source of any comment (for demonstration
>> purposes, this one<http://comments.scripting.com/humanityDoesntScale/119>)
>> with the XML button at the bottom of the page, I don't get the complete
>> source--it's cut off after the opening body tag. In other words, this is
>> an example of what I get:
>>
>> <?xml encoding="ISO-8859-1" version="1.0"?>
>> <!-- OPML generated by OPML Editor v0.75 on 9/23/2012; 12:09:52 PM -->
>> <opml version="2.0">
>> <head>
>> <title>Dody Gunawinata</title>
>> <ownerName>Dave Winer</ownerName>
>> <ownerEmail>dave....@gmail.com <javascript:></ownerEmail>
>> <windowTop>200</windowTop>
>> <windowLeft>200</windowLeft>
>> <windowBottom>600</windowBottom>
>> <windowRight>800</windowRight>
>> </head>
>> <body>
>>
>> But it's not just incomplete--the ownerName and ownerEmail tags have
>> Dave's information in them. Knowing the date and the id of that comment, I
>> can find it manually at
>> http://static.scripting.com/pensacola/comments/2012/09/23/00119.opml.
>> The head tree is noticeably different, and the body is complete now:
>>
>> <?xml encoding="ISO-8859-1" version="1.0"?>
>> <!-- OPML generated by OPML Editor v10.1a8 on Sun, 23 Sep 2012 15:57:25 GMT -->
>> <opml version="2.0">
>> <head>
>> <title>Comment from Dody Gunawinata</title>
>> <dateCreated>Sun, 23 Sep 2012 15:57:25 GMT</dateCreated>
>> <dateModified>Sun, 23 Sep 2012 15:57:25 GMT</dateModified>
>> <ownerName></ownerName>
>> <ownerEmail></ownerEmail>
>> <expansionState></expansionState>
>> <vertScrollState>1</vertScrollState>
>> <windowTop>169</windowTop>
>> <windowLeft>332</windowLeft>
>> <windowBottom>314</windowBottom>
>> <windowRight>657</windowRight>
>> </head>
>> <body>
>> <outline text="We have seen already what happened when a complex system gets too big to understand four years ago with the catastrophic meltdown of the global financial system. There are people literally thrown out to the street in Greece and Spain because of this financial calamity. At some point these 'clouds' will become too big to fail and governments will have to bail them out because everything digital that we have would be stored there."></outline>
>> <outline text=""></outline>
>> </body>
>> </opml>
>>
>>
>> It looks like the code generating the OPML source with the ?format=opml param is misbehaving.
>>
>>
>> Zach
>>
>>
>
------=_Part_500_7014932.1348431061639
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I tested it on a few comments, and yes, it works on them now.<div><br></div><div>However, it doesn't work on the <a href="http://comments.scripting.com/">comments outline page</a>--same problem.<div><br></div><div>Zach<br><div><div><div><br>On Sunday, September 23, 2012 3:02:15 PM UTC-5, Dave Winer wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">It should work now.<div><br></div><div><a href="http://worknotes.scripting.com/september2012/92312ByDw/gettingOpmlForComments" target="_blank">http://worknotes.scripting.<wbr>com/september2012/92312ByDw/<wbr>gettingOpmlForComments</a></div><div><br>
</div><div>Dave</div><div><br></div><div><br><br><div class="gmail_quote">On Sun, Sep 23, 2012 at 12:38 PM, Zach Thomae <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="F6xk4USqXXwJ">zth...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I try to download the OPML source of any comment (for demonstration purposes, <a href="http://comments.scripting.com/humanityDoesntScale/119" target="_blank">this one</a>) with the XML button at the bottom of the page, I don't get the complete source--it's cut off after the opening <font face="courier new, monospace">body</font> tag. In other words, this is an example of what I get:<div>
<br></div><div><div><font face="courier new, monospace"><?xml encoding="ISO-8859-1" version="1.0"?></font></div><div><font face="courier new, monospace"><!-- OPML generated by OPML Editor v0.75 on 9/23/2012; 12:09:52 PM --></font></div>
<div><font face="courier new, monospace"><opml version="2.0"></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><head></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><title>Dody Gunawinata</title></font></div>
<div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><ownerName>Dave Winer</ownerName></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><ownerEmail><a href="javascript:" target="_blank" gdf-obfuscated-mailto="F6xk4USqXXwJ">dave....@gmail.<wbr>com</a></ownerEmail></font></div>
<div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><windowTop>200</windowTop></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><windowLeft>200</windowLeft></font></div>
<div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><windowBottom>600</<wbr>windowBottom></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><windowRight>800</windowRight></font></div>
<div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span></head></font></div><div><font face="courier new, monospace"><span style="white-space:pre-wrap"> </span><body></font></div></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">But it's not just incomplete--the </font><font face="courier new, monospace">ownerName</font><font face="arial, sans-serif"> and </font><font face="courier new, monospace">ownerEmail</font><font face="arial, sans-serif"> tags have Dave's information in them. Knowing the date and the id of that comment, I can find it manually at <a href="http://static.scripting.com/pensacola/comments/2012/09/23/00119.opml" target="_blank">http://static.scripting.<wbr>com/pensacola/comments/2012/<wbr>09/23/00119.opml</a>. The </font><font face="courier new, monospace">head</font><font face="arial, sans-serif"> tree is noticeably different, and the </font><font face="courier new, monospace">body</font><font face="arial, sans-serif"> is complete now:</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="courier new, monospace"><?xml encoding="ISO-8859-1" version="1.0"?>
<!-- OPML generated by OPML Editor v10.1a8 on Sun, 23 Sep 2012 15:57:25 GMT -->
<opml version="2.0">
<head>
<title>Comment from Dody Gunawinata</title>
<dateCreated>Sun, 23 Sep 2012 15:57:25 GMT</dateCreated>
<dateModified>Sun, 23 Sep 2012 15:57:25 GMT</dateModified>
<ownerName></ownerName>
<ownerEmail></ownerEmail>
<expansionState></<wbr>expansionState>
<vertScrollState>1</<wbr>vertScrollState>
<windowTop>169</windowTop>
<windowLeft>332</windowLeft>
<windowBottom>314</<wbr>windowBottom>
<windowRight>657</windowRight>
</head>
<body>
<outline text="We have seen already what happened when a complex system gets too big to understand four years ago with the catastrophic meltdown of the global financial system. There are people literally thrown out to the street in Greece and Spain because of this financial calamity. At some point these 'clouds' will become too big to fail and governments will have to bail them out because everything digital that we have would be stored there."></outline>
<outline text=""></outline>
</body>
</opml></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="courier new, monospace"><br></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, sans-serif">It looks like the code generating the OPML source with the </font><font face="courier new, monospace">?format=opml</font><font face="arial, sans-serif"> param is misbehaving.</font></pre>
<span><font color="#888888"><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, sans-serif"><br></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, sans-serif">Zach</font></pre>
</font></span></div></blockquote></div><br></div>
</blockquote></div></div></div></div></div>
------=_Part_500_7014932.1348431061639--
------=_Part_499_21588093.1348431061639--