Skip to content

Commit

Permalink
Updated: Added support for doc.ez.no confluence user and developer sp…
Browse files Browse the repository at this point in the history
…aces atom feeds
  • Loading branch information
brookinsconsulting committed Mar 9, 2017
1 parent b98f6a1 commit f430494
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
Expand Up @@ -5,9 +5,10 @@ atom_youtube_source=( ezpublishyoutubeplaylistezsystemsofficialatomimporthandler
atom_jira_sources=( ezpublishjiraatomimporthandler ezcommunityjiraatomimporthandler )
atom_alt_sources=( stackoverflowtagezpublishatomimporthandler stackoverflowtagezplatformatomimporthandler partialcontentatomimporthandler fabienpotencieratomimporthandler granitehorizonatomimporthandler )
atom_github_sources=( ezecosystemgithubatomimporthandler ezpublish-legacygithubatomimporthandler ezpublish-communitygithubatomimporthandler ezpublish-kernelgithubatomimporthandler ezcommunitygithubatomimporthandler ezsystemsgithubatomimporthandler brookinsconsultinggithubatomimporthandler brookinsconsultinggistgithubatomimporthandler ezpublishlegacygithubatomimporthandler gggeekgithubatomimporthandler jdespatisgithubatomimporthandler crevillogithubatomimporthandler andreromgithubatomimporthandler dpobelgithubatomimporthandler bdunogiergithubatomimporthandler pedroresendegithubatomimporthandler yannickrogergithubatomimporthandler lolautruchegithubatomimporthandler peterkeunggithubatomimporthandler xrowgithubatomimporthandler thiagocamposvianagithubatomimporthandler joaoinaciogithubatomimporthandler glyegithubatomimporthandler pspanjagithubatomimporthandler xinyuexrowgithubatomimporthandler xrowkristinagithubatomimporthandler emodricgithubatomimporthandler )
atom_docdotezdotno_sources=( docdotezdotnospaceuseratomimporthandler docdotezdotnospacedeveloperatomimporthandler )

# Combine source arrays in order
all_atom_sources=( "${atom_jira_sources[@]}" "${atom_alt_sources[@]}" "${atom_github_sources[@]}" "${atom_youtube_source[@]}" )
all_atom_sources=( "${atom_jira_sources[@]}" "${atom_alt_sources[@]}" "${atom_github_sources[@]}" "${atom_youtube_source[@]}" "${atom_docdotezdotno_sources[@]}" )

# Test for optional siteacecss shell argument
if [[ -z "$1" ]]; then
Expand Down
34 changes: 34 additions & 0 deletions ezpublish_legacy/settings/override/sqliimport.ini.append.php
Expand Up @@ -39,6 +39,8 @@
AvailableSourceHandlers[]=ezpublishyoutubeplaylisttheezpublishshowatomimporthandler
AvailableSourceHandlers[]=ezpublishyoutubeplaylistezpublishdynamicatomimporthandler
AvailableSourceHandlers[]=ezpublishyoutubeplaylistezsystemsofficialatomimporthandler
AvailableSourceHandlers[]=docdotezdotnospaceuseratomimporthandler
AvailableSourceHandlers[]=docdotezdotnospacedeveloperatomimporthandler
[ezpublishjiraatomimporthandler-HandlerSettings]
# Indicates if handler is enabled or not. Mandatory. Must be "true" or "false"
Expand Down Expand Up @@ -648,4 +650,36 @@
# Below you can add your own settings for your source handler
ATOMFeed=https://www.youtube.com/feeds/videos.xml?channel_id=UC6h8ElA2FBQu0CwsF613fxQ
[docdotezdotnospaceuseratomimporthandler-HandlerSettings]
# Indicates if handler is enabled or not. Mandatory. Must be "true" or "false"
Enabled=true
# Intelligible name
Name=doc.ez.no User Space Feed
# Class for source handler. Must implement ISQLIImportSourceHandler and extend SQLIImportAbstractSourceHandler
ClassName=SQLIConfluenceATOMImportHandler
# Facultative. Indicates whether debug is enabled or not
Debug=enabled
# Same as [ImportSettings]/DefaultParentNodeID, but source handler specific
DefaultParentNodeID=69294
# StreamTimeout, handler specific. If empty, will take [ImportSettings]/StreamTimeout
StreamTimeout=
# Below you can add your own settings for your source handler
ATOMFeed=https://doc.ez.no/spaces/createrssfeed.action?types=page&types=comment&types=blogpost&types=mail&types=attachment&spaces=USER&maxResults=15&title=[User]+All+Content+Feed&publicFeed=false&os_authType=basic
[docdotezdotnospacedeveloperatomimporthandler-HandlerSettings]
# Indicates if handler is enabled or not. Mandatory. Must be "true" or "false"
Enabled=true
# Intelligible name
Name=doc.ez.no Developer Space Feed
# Class for source handler. Must implement ISQLIImportSourceHandler and extend SQLIImportAbstractSourceHandler
ClassName=SQLIConfluenceATOMImportHandler
# Facultative. Indicates whether debug is enabled or not
Debug=enabled
# Same as [ImportSettings]/DefaultParentNodeID, but source handler specific
DefaultParentNodeID=69295
# StreamTimeout, handler specific. If empty, will take [ImportSettings]/StreamTimeout
StreamTimeout=
# Below you can add your own settings for your source handler
ATOMFeed=https://doc.ez.no/spaces/createrssfeed.action?types=page&types=comment&types=blogpost&types=mail&types=attachment&spaces=DEVELOPER&maxResults=15&title=[Developer]+All+Content+Feed&publicFeed=false&os_authType=basic
*/ ?>

0 comments on commit f430494

Please sign in to comment.