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 noindex flag to API repsonse #7822

Closed

Conversation

rinsuki
Copy link
Contributor

@rinsuki rinsuki commented Jun 16, 2018

ref: #6361
image

if not local user, return value is null.

@Gargron
Copy link
Member

Gargron commented Jun 17, 2018

The usefulness of this data when it's incomplete for remote users is arguable. I think for this to be done completely, the property must become part of the ActivityPub actor (and therefore move from settings to accounts table?). The property would also be a new addition to AP vocabulary and therefore warrants extended discussion.

@rinsuki
Copy link
Contributor Author

rinsuki commented Jun 17, 2018

yes, this is incomplete for remote users. however, in some cases, it is really useful. for example, auto opt-out from search engine that crawl only local timeline.

@unarist unarist added the api REST API, Streaming API, Web Push API label Jul 3, 2018
@nightpool
Copy link
Member

@rinsuki what search engines crawl the public timelines?

I'm also concerned about remote users, but maybe it's safe if we always give noindex values of true for remote users? Because local instances aren't ever the authoritative source for non-local data, so if you wish to index it you should get permission from the origin server.

@@ -48,6 +48,11 @@ def header_static
full_asset_url(object.header_static_url)
end

def noindex
user = object.user
user.settings['noindex'] if user
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return true unless object.user
object.user.settings['noindex']

@rinsuki
Copy link
Contributor Author

rinsuki commented Jul 6, 2018

@nightpool for example, http://mastodonsearch.jp/, https://tootsearch.chotto.moe/, etc crawls public timeline.

@tateisu
Copy link
Contributor

tateisu commented Jun 20, 2019

tootsearch reads FTL.

@ghost
Copy link

ghost commented Sep 25, 2019

The discoverable flag (#11688) suits for this purpose?

@Gargron
Copy link
Member

Gargron commented Sep 26, 2019

The discoverable flag (#11688) suits for this purpose?

Maybe. But discoverable is not the same value as "opt out of search engines". It would have slightly different meaning.

@stale
Copy link

stale bot commented Jan 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/wontfix This will not be worked on label Jan 24, 2020
@Gargron Gargron closed this Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api REST API, Streaming API, Web Push API status/wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants