Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Rss struct {
- XMLName xml.Name `xml:"rss"`
- Version string `xml:"version,attr"`
- // Required
- Title string `xml:"channel>title"`
- Link string `xml:"channel>link"`
- Description string `xml:"channel>description"`
- // Optional
- PubDate string `xml:"channel>pubDate"`
- ItemList []Item `xml:"channel>item"`
- }
- type AppLink struct {
- Property string `xml:"property,attr"`
- Content string `xml:"content,attr"`
- }
- type Item struct {
- Id string `xml:"id"`
- Title string `xml:"title"`
- Description template.HTML `xml:"description"`
- Link string `xml:"link"`
- ImageLink string `xml:"image_link"`
- AppLinks []AppLink `xml:"applink"`
- Condition string `xml:"condition"`
- Availability string `xml:"availability"`
- Price string `xml:"price"`
- GoogleProductCategory string `xml:"google_product_category"`
- Brand string `xml:"brand"`
- Mpn string `xml:"mpn"`
- ProductType string `xml:"product_type"`
- AdditionalImageLink string `xml:"additional_image_link"`
- Gender string `xml:"gender"`
- AgeGroup string `xml:"age_group"`
- Material string `xml:"material"`
- CustomLabel0 string `xml:"custom_label_0"`
- CustomLabel1 string `xml:"custom_label_1"`
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement