Skip to content

Mirroring index files #21

Open
Open
@andrewshell

Description

@andrewshell

Following instructions here: https://github.com/scripting/pagePark#v0818-62221-by-dw

What I've done

I have an OPML file hosted: http://lo2.geekity.com/andrewshell/myOutlines/pagepark-howto-glitch.opml

In PagePark for the domain glitch-howto.shll.me I have the file config.json with the following contents:

{
  "mirrors": {
    "/index.opml": "http://lo2.geekity.com/andrewshell/myOutlines/pagepark-howto-glitch.opml"
  }
}

What Happens

If I go to http://glitch-howto.shll.me/index.opml it shows the rendered OPML file as expected.

If I go to http://glitch-howto.shll.me/ I see "The file was not found."

What I Expected

I would expect that if I went to http://glitch-howto.shll.me/ I would see the same output as http://glitch-howto.shll.me/index.opml

Alternative Attempt

If I have the file config.json with the following contents:

{
  "mirrors": {
    "/": "http://lo2.geekity.com/andrewshell/myOutlines/pagepark-howto-glitch.opml"
  }
}

When I go to http://glitch-howto.shll.me/ the OPML contents are returned as text/html but not processed.

See: http://glitch-howto-alt.shll.me/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions