Skip to content

This is a quick test of the WP REST API searching across multiple blogs

Notifications You must be signed in to change notification settings

troutcolor/wp-sites-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

#Multi WP Blog Search

This is a simple experiment/test searching across multiple WordPress blogs.

Multi WP Blog search

It uses the WordPress REST API. I guess you could use rss too as WordPress seems to provide feeds for searches.

I've no idea if this is useful or not, google also does multi site searches. I guess it could be used to provide a search across multiple WordPress blog in one place.

you can kick off a search on the page by adding a hash & the search term to the url:

http://git.johnj.info/wp-sites-search/#twitter

http://git.johnj.info/wp-sites-search/#twitter

Notes

BLOGURL/wp-json/wp/v2/posts/?search=needle&per_page=10

The REST API became available around wp 4.7

I am not sue I understand the x-domain and mixed content stuff

About

This is a quick test of the WP REST API searching across multiple blogs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages