XPath is a query language which provide easy way to select node from an XML/HTML document. You can read more about the language here.
Below we provide some examples:
- Post title:
/html/head/title - Short description:
/html/head/meta[@name="description"]/@content - Post image:
//div[@id="container"]/article/img/@src - Post content:
//div[@id="container"]/article - Post author:
//div[@id="container"]/span[@id="author"]
If you have different html structure for every post content you can set two or more XPath queries separated by comma.
