Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XML sitemap used by robot.txt in market #677

Closed
wants to merge 1 commit into from

Conversation

corrie-sloot
Copy link

Fulfilment of mPowered’s DAO, Round 13 relating to search engine optimisations (SEO).

Add a new endpoint /api/v1/aquarius/assets/sitemap which outputs an XML sitemap for use by the market. Takes in one GET parameter, base, which is the base URL for a market (e.g. https://market.oceanprotocol.com)

The ES query is just for all assets that are in all mainnet chains and are not in purgatory, sorted by creation date newest to oldest.

@codeclimate
Copy link

codeclimate bot commented Jan 28, 2022

Code Climate has analyzed commit 7975d63 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 8.8% (50% is the threshold).

This pull request will bring the total coverage in the repository to 94.1% (-2.3% change).

View more on Code Climate.

@AnaLoznianu
Copy link
Member

I am not sure this change is still wanted/needed.

First, it points to the old V3 branch, and then, from @kremalicious comment from the market-related PR, it seems that the XML sitemap can be generated from the market alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants