scripting / drummerRFC

A place to post RFCs for people who use and develop in Drummer.
MIT License
11 stars 0 forks source link

Interop between Bike and Drummer #25

Open scripting opened 2 years ago

scripting commented 2 years ago

This is the continuation of a thread on Twitter about round-trip OPML between the new Bike outliner and Drummer.

gwthompson commented 2 years ago

@jessegrosjean @scripting Here is what I have found so far regarding interop between Bike and Drummer:

  1. Opening an OPML created in Drummer and saving it in Bike without making any edits wipes out the header attributes. Additionally an empty meta attribute is added to the header. An id is also added to the body tag.
  2. When the same OPML file is reopened in Drummer (without making any edits in Bike) the id Bike added to the body tag is removed by Drummer. The header attributes are still missing as well.
  3. Reopen the file in Bike and make text changes and saving doesn't save any of the edits.
  4. Reopen the file in Drummer and make text changes works as expected. The Drummer edits also are there when reopening the file in Bike.
  5. Basically any OPML file created in Drummer and edited/saved in Bike doesn't work.

I have since discovered the following which may explain what is happening up above:

  1. Create a new file in Bike.
  2. Save it as OPML.
  3. Close the file.
  4. Open the file and make some text edits.
  5. Save and close the file.
  6. Open the file again and none of the edits are there.

I am running Monterey 12.4 on an M1 MacBook Pro.

scripting commented 2 years ago

@gwthompson -- thank you! ;-)

jessegrosjean commented 2 years ago

@gwthompson Thanks for me too. I will get to this soon, but might take a few days. Got some more pressing bugs I need to deal with first.

jessegrosjean commented 2 years ago

3. Reopen the file in Bike and make text changes and saving doesn't save any of the edits.

I wish I had read this more carefully originally, eek! I was thinking you were just talking about metadata attributes.

Anyway, that save error should be fixed now in Bike 1.1 Preview. I still haven't got to round tripping metadata attributes.

jessegrosjean commented 2 years ago

@gwthompson I think Bike now property round trips opml metadata attributes in this preview release:

https://support.hogbaysoftware.com/t/bike-1-2-preview-56/4898