Home >  Archive >  2010 >  July >  26


 

Previous / Next

This is a test post.

By Marc Barrot on Monday, July 26, 2010 at 9:51 AM.

I'm saving from iJot straight to Scripting2. Permanent link to this item in the archive.

I want to check the first node's attributes each time I'm performing a save operation. Permanent link to this item in the archive.

So here goes the first save in iJot. Permanent link to this item in the archive.

The published opml file has the following attributes. Permanent link to this item in the archive.

created="Mon, 26 Jul 2010 13:51:46 GMT" Permanent link to this item in the archive.

ctSaves="1" Permanent link to this item in the archive.

storySerialNum="29" Permanent link to this item in the archive.

url="http://blogs.scripting2.com/marcbarrot/stories/2010/07/26/thisIsATestPost.html" Permanent link to this item in the archive.

whenLastSave="Mon, 26 Jul 2010 13:51:46 GMT Permanent link to this item in the archive.

Inside the outliner, the attributes are: Permanent link to this item in the archive.

created Mon%2C%2026%20Jul%202010%2013%3A51%3A46%20GMT Permanent link to this item in the archive.

ctSaves=1 Permanent link to this item in the archive.

storySerialNum=29 Permanent link to this item in the archive.

whenLastSave=Mon%2C%2026%20Jul%202010%2013%3A51%3A46%20GMT Permanent link to this item in the archive.

server=xmlrpc://edit2.scripting2.com/RPC2 Permanent link to this item in the archive.

username=marcbarrot Permanent link to this item in the archive.

So, I should unescape the attributes in the outliner. I also wonder why the server and username attributes are not present in the OPML. Some reverse engineering inside the OPML Editor is in order. Permanent link to this item in the archive.

This is my second save attempt. The sever and username attributes are part of the outliner now. Permanent link to this item in the archive.

The published OPML file now has the following attributes: Permanent link to this item in the archive.

created="Mon, 26 Jul 2010 13:51:46 GMT" Permanent link to this item in the archive.

ctSaves="2" Permanent link to this item in the archive.

server="xmlrpc://edit2.scripting2.com/RPC2" Permanent link to this item in the archive.

storySerialNum="29" Permanent link to this item in the archive.

url="http://blogs.scripting2.com/marcbarrot/stories/2010/07/26/thisIsATestPost.html" Permanent link to this item in the archive.

username="marcbarrot" Permanent link to this item in the archive.

whenLastSave="Mon, 26 Jul 2010 14:19:34 GMT" Permanent link to this item in the archive.

So the username and server attributes are now part of the published OPML document. Permanent link to this item in the archive.

Which probably means I should manually add these attributes to the OPML text before I save the first time around, since the OPML editor does not add them by default. Permanent link to this item in the archive.

So that's 2 bugs I need to correct before the system is really seamless. Permanent link to this item in the archive.




 
About the author

Contact me

My sites

Recent stories

Calendar

July 2010
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Jun   Aug

To-do

Done


A picture named xmlMini.gif



© Copyright 2010 Marc Barrot. Last update: Monday, July 26, 2010 at 10:25 AM Eastern. Last build: 7/29/2010; 6:11:13 PM. "It sure is worse than it appears" RSS feed for Scripting2 Reverse Engineering


Previous / Next