![]() Look inside element(s) matching this CSS expression (for example: div.news. If omitted, the text of the first matching element will be used.Ĭannot be used in combination with in_id_or_class.Įxtract item title from element matching CSS selector. If set to 0, titles will not be included in the output. To use an element's attribute value rather than text content, use for example: 'img To select the context element itself (element selected by item), pass ':scope'.Įxtract item URL from element matching CSS selector. If omitted, the URL of the first matching element will be used. If set to 0, URLs will not be included in the output. If set to 1, all item URLs will point to the input URL. To use an attribute value other than 'href', use for example: 'img (CSS selector)Įxtract item description from element matching CSS selector. If omitted, the generated feed will not include item descriptions. To use an element's attribute value rather than text content, use for example: 'img To select the context element itself (element selected by item), pass ':scope'.Įxtract item date from element matching CSS selector. If omitted, the generated feed will not include item date. To get the date from an attribute value rather than text content of the element, use for example: 'time the date is not recognised correctly (e.g. Treated as US format instead of European), you can specify the format it appears in here. This should follow the createFromFormat pattern, e.g. 'j-M-Y'.Įxtract item image URL from element matching CSS selector. This is applied within the context of elements selected by item. Examples: 'img', 'img.main', 'img (extracts URL from data-src attribute instead of src) If omitted, no image will be included in the output. No guid field is included in the output by default. Pass 'url' to include a guid generated from the item URL, 'title' to have it generated from the item title, or 'url_title' use a combination of both.įilter out any item whose URL does not contain one of these substrings. Example: /article/įilter out any item whose title or description does not contain any of the supplied words or phrases. If multiple matching items have the same URL, only the first encountered will be kept. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |