UNPKG

985 BJavaScriptView Raw
1'use strict'
2
3module.exports.Entry = Entry
4module.exports.Feed = Feed
5
6function Entry (
7 author,
8 duration,
9 enclosure,
10 id,
11 image,
12 link,
13 originalURL,
14 subtitle,
15 summary,
16 title,
17 updated,
18 url
19) {
20 this.author = author
21 this.duration = duration
22 this.enclosure = enclosure
23 this.id = id
24 this.image = image
25 this.link = link
26 this.originalURL = originalURL
27 this.subtitle = subtitle
28 this.summary = summary
29 this.title = title
30 this.updated = updated
31 this.url = url
32}
33
34function Feed (
35 author,
36 copyright,
37 id,
38 image,
39 language,
40 link,
41 originalURL,
42 payment,
43 subtitle,
44 summary,
45 title,
46 ttl,
47 updated,
48 url
49) {
50 this.author = author
51 this.copyright = copyright
52 this.id = id
53 this.image = image
54 this.language = language
55 this.link = link
56 this.originalURL = originalURL
57 this.payment = payment
58 this.subtitle = subtitle
59 this.summary = summary
60 this.title = title
61 this.ttl = ttl
62 this.updated = updated
63 this.url = url
64}