README.md in html2rss-0.8.1 vs README.md in html2rss-0.8.2
- old
+ new
@@ -59,10 +59,12 @@
| `url` | required | String | | |
| `title` | optional | String | auto-generated | |
| `description` | optional | String | auto-generated | |
| `ttl` | optional | Integer | `360` | TTL in _minutes_ |
| `time_zone` | optional | String | `'UTC'` | TimeZone name |
+| `language` | optional | String | `'en'` | Language code |
+| `author` | optional | String | | Format: `email (Name)'` |
| `headers` | optional | Hash | `{}` | Set HTTP request headers. See notes below. |
| `json` | optional | Boolean | `false` | Handle JSON response. See notes below. |
### The `selectors`
@@ -411,13 +413,13 @@
Html2rss.feed(
channel: {
url: 'https://example.com',
title: "Example with http headers",
headers: {
- "User-Agent" => "html2rss-request",
- "X-Something" => "Foobar",
- "Authorization" => "Token deadbea7",
- "Cookie" => "monster=MeWantCookie"
+ "User-Agent": "html2rss-request",
+ "X-Something": "Foobar",
+ "Authorization": "Token deadbea7",
+ "Cookie": "monster=MeWantCookie"
}
},
selectors: {}
)
```