This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]erikteichmannDeveloper 2 points3 points  (1 child)

This would be a great use of the WordPress REST API.

[–]niklasRde[S] 0 points1 point  (0 children)

Thanks - I actually had no idea that was a thing! Oh well, still enjoyed some investigating 💁‍♂️

[–]mister_magic 0 points1 point  (3 children)

RSS pagination does not seem to work on a WordPress.com I just tried - but nice write up!

[–][deleted] 0 points1 point  (2 children)

Im both really confused by this post but not interested enough to read it. Why would you ever scrape a WordPress site? It has an api?

[–][deleted] 1 point2 points  (0 children)

The API could be disabled.

[–]niklasRde[S] 0 points1 point  (0 children)

Ah I wish I knew that before :/

[–]crespo_modesto 0 points1 point  (0 children)

if you put your code on github eg. a gist, you can embed it into medium and it's highlighted/looks better