How to create an entirely new list from an Import

answered

#1

Good afternoon

Is there a way to create an entirely new list from an import?

Currently I have to create a new list, and then import an OPML file. But I would like the first item in the OPML file to be my list name and then everything below it be the items in the list.

For example

<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
  <head>
    <title></title>
    <flavor>example</flavor>
    <source>https://example.io</source>
    <ownerName>me</ownerName>
    <ownerEmail>my-email</ownerEmail>
  </head>
  <body>
    <outline text="Movies to watch">
      <outline text="Sully"/>
      <outline text="both Ghost Busters"/>
      <outline text="Passengers"/>
    </outline>
  </body>
</opml>

So I would like Movies to watch to be the name of my list, and then the three movies as items in the list.

How can I do that? Can I modify the OPML to achieve this?

Thanks.


#2

I may just have answered my own question!

I changed the OPML to move the first item, <outline text="Movies to watch">, to the title element <title>Movies to watch</title> and then removed the closing tag so that my OPML looks like this:

<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
  <head>
    <title>Movies to watch</title>
    <flavor>example</flavor>
    <source>https://example.io</source>
    <ownerName>me</ownerName>
    <ownerEmail>my-email</ownerEmail>
  </head>
  <body>
      <outline text="Sully"/>
      <outline text="both Ghost Busters"/>
      <outline text="Passengers"/>
  </body>
</opml>

And when I imported it into Checkvist I checked the Replace all tasks in the list with the imported ones check box.

I would appreciate confirmation that’s the right way to do it, and them I’m not missing anything or over-doing it.

Thanks


#3

Hi, you’re absolutely correct with the approach you’ve found :slight_smile: