Skip to content

Commit

Permalink
Add new field and ignore node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
dewey committed Aug 19, 2018
1 parent 4f4c6fc commit ef3fbf9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/dist
node_modules/
dist/
1 change: 1 addition & 0 deletions api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (s *service) ListFeeds() []plugin.PluginMetadata {
TechnicalName: p.Info().TechnicalName,
Image: p.Info().Image,
Author: p.Info().Author,
AuthorURL: p.Info().AuthorURL,
SourceURL: p.Info().SourceURL,
})
}
Expand Down
1 change: 1 addition & 0 deletions plugin/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type PluginMetadata struct {
Name string
Description string
Author string
AuthorURL string
Image string
SourceURL string
}
1 change: 1 addition & 0 deletions plugins/scmp/scmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (p *plugin) Info() pm.PluginMetadata {
Name: "The South China Morning Post: Infographics",
Description: `Scraping the Infographics section of South China Morning Post as there's no RSS feed available. The Infographics cover various topics like Politics, Lifestyle, Science and Economy.`,
Author: "Philipp",
AuthorURL: "https://github.com/dewey"
Image: "https://i.imgur.com/pPVoXVh.png",
SourceURL: "https://www.scmp.com/topics/infographics-asia",
}
Expand Down

0 comments on commit ef3fbf9

Please sign in to comment.