DEV Community

Daniele Scasciafratte
Daniele Scasciafratte

Posted on • Originally published at daniele.tech on

Get a post id by URL with WP-CLI

This need was quite easy. An huge list of URLs, similar from this export but that case is from another tool. I did a specific package for WP-CLI that it is possible to use also with other tools like python because is possible to export as JSON. There is a big readme with all the [...]

Read More...

The post Get a post id by URL with WP-CLI appeared first on Daniele Mte90 Scasciafratte.

Top comments (2)

Collapse
 
rafaacioly profile image
Rafael Acioly

To be honest, this kind of post makes me unconfortable, people "posting" here just to promote their own site with ads...

This is almost a click bait 😞
Shouldn't we have a rule about this?

Collapse
 
mte90 profile image
Daniele Scasciafratte

Hi Rafael, this is a feature of Dev.to portal based on RSS.
I am using to promote what I write and avoid duplicate content across internet that create issues to track what is interesting from my readers.
At the same time this is marked in the post itself (that is generated by an external article) but not on the list view and is something that you can propose to github.com/thepracticaldev/dev.to, I don't think that for @ben is a problem to implement a better view for article that point to an external website like reddit does.

Personally I want to promote what I write but not to write for others like I did in the past and aggregate my article under my website to avoid people that change the author or that the website close.