all feeds using stone

This commit is contained in:
Martin Donnelly 2017-10-01 18:25:17 +01:00
parent 74fce65a5b
commit e430356306
5 changed files with 498 additions and 835 deletions

View File

@ -3,8 +3,10 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment=""> <list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/jobs-corpus.js" afterPath="$PROJECT_DIR$/jobs-corpus.js" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/fixer.js" afterPath="$PROJECT_DIR$/fixer.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/jobs-local.js" afterPath="$PROJECT_DIR$/jobs-local.js" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lifestyle.js" afterPath="$PROJECT_DIR$/lifestyle.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/news.js" afterPath="$PROJECT_DIR$/news.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/pipes-server.js" afterPath="$PROJECT_DIR$/pipes-server.js" />
</list> </list>
<ignored path="rinser.iws" /> <ignored path="rinser.iws" />
<ignored path=".idea/workspace.xml" /> <ignored path=".idea/workspace.xml" />
@ -25,53 +27,43 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="jobs-special.js" pinned="false" current-in-tab="false"> <file leaf-file-name="jobs-special.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/jobs-special.js"> <entry file="file://$PROJECT_DIR$/jobs-special.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="315"> <state relative-caret-position="-1407">
<caret line="21" column="40" lean-forward="false" selection-start-line="20" selection-start-column="4" selection-end-line="21" selection-end-column="40" /> <caret line="21" column="40" lean-forward="false" selection-start-line="20" selection-start-column="4" selection-end-line="21" selection-end-column="40" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name=".eslintrc" pinned="false" current-in-tab="false"> <file leaf-file-name="jobs-corpus.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.eslintrc">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="19" column="8" lean-forward="false" selection-start-line="19" selection-start-column="8" selection-end-line="19" selection-end-column="8" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="jobs-special.xml" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/dist/jobs-special.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="480">
<caret line="32" column="53" lean-forward="false" selection-start-line="32" selection-start-column="53" selection-end-line="32" selection-end-column="53" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="jobs-corpus.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/jobs-corpus.js"> <entry file="file://$PROJECT_DIR$/jobs-corpus.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168"> <state relative-caret-position="36">
<caret line="327" column="1" lean-forward="false" selection-start-line="327" selection-start-column="1" selection-end-line="327" selection-end-column="1" /> <caret line="290" column="40" lean-forward="false" selection-start-line="290" selection-start-column="15" selection-end-line="290" selection-end-column="40" />
<folding> <folding>
<marker date="1505142392000" expanded="true" signature="16278:16298" ph="..." /> <marker date="1506878694000" expanded="true" signature="16278:16298" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="pipes-server.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/pipes-server.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="20" column="27" lean-forward="false" selection-start-line="20" selection-start-column="27" selection-end-line="20" selection-end-column="27" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="jobs-local.js" pinned="false" current-in-tab="false"> <file leaf-file-name="jobs-local.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/jobs-local.js"> <entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159"> <state relative-caret-position="15">
<caret line="91" column="3" lean-forward="false" selection-start-line="91" selection-start-column="3" selection-end-line="91" selection-end-column="3" /> <caret line="39" column="42" lean-forward="false" selection-start-line="39" selection-start-column="17" selection-end-line="39" selection-end-column="42" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -80,18 +72,8 @@
<file leaf-file-name="fixer.js" pinned="false" current-in-tab="false"> <file leaf-file-name="fixer.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/fixer.js"> <entry file="file://$PROJECT_DIR$/fixer.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="521"> <state relative-caret-position="573">
<caret line="380" column="0" lean-forward="false" selection-start-line="380" selection-start-column="0" selection-end-line="380" selection-end-column="0" /> <caret line="249" column="39" lean-forward="false" selection-start-line="249" selection-start-column="39" selection-end-line="249" selection-end-column="39" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="corpus.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/corpus.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -112,8 +94,28 @@
<file leaf-file-name="news.js" pinned="false" current-in-tab="false"> <file leaf-file-name="news.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/news.js"> <entry file="file://$PROJECT_DIR$/news.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345"> <state relative-caret-position="181">
<caret line="23" column="14" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="188" selection-end-column="0" /> <caret line="50" column="42" lean-forward="false" selection-start-line="50" selection-start-column="17" selection-end-line="50" selection-end-column="42" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="lifestyle.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lifestyle.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="81" column="105" lean-forward="false" selection-start-line="81" selection-start-column="105" selection-end-line="81" selection-end-column="105" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="fit.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/fit.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-439">
<caret line="20" column="64" lean-forward="false" selection-start-line="20" selection-start-column="64" selection-end-line="20" selection-end-column="64" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -122,8 +124,8 @@
<file leaf-file-name="jobs-new.js" pinned="false" current-in-tab="false"> <file leaf-file-name="jobs-new.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/jobs-new.js"> <entry file="file://$PROJECT_DIR$/jobs-new.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1695"> <state relative-caret-position="715">
<caret line="113" column="3" lean-forward="false" selection-start-line="36" selection-start-column="13" selection-end-line="113" selection-end-column="3" /> <caret line="63" column="5" lean-forward="false" selection-start-line="63" selection-start-column="5" selection-end-line="63" selection-end-column="5" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -159,9 +161,11 @@
<find>news</find> <find>news</find>
<find>jobis</find> <find>jobis</find>
<find>jobisjob</find> <find>jobisjob</find>
<find>http://52.211.105.9:6566/</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace /> <replace />
<replace>http://stone-dev2.eu-west-1.elasticbeanstalk.com/</replace>
</replaceStrings> </replaceStrings>
<dirStrings> <dirStrings>
<dir>C:\dev\md\Rinser</dir> <dir>C:\dev\md\Rinser</dir>
@ -175,7 +179,6 @@
<option name="CHANGED_PATHS"> <option name="CHANGED_PATHS">
<list> <list>
<option value="$PROJECT_DIR$/.jshintrc" /> <option value="$PROJECT_DIR$/.jshintrc" />
<option value="$PROJECT_DIR$/pipes-server.js" />
<option value="$PROJECT_DIR$/dist/index.html" /> <option value="$PROJECT_DIR$/dist/index.html" />
<option value="$PROJECT_DIR$/html/js/shell.js" /> <option value="$PROJECT_DIR$/html/js/shell.js" />
<option value="$PROJECT_DIR$/dist/js/vendor.js" /> <option value="$PROJECT_DIR$/dist/js/vendor.js" />
@ -205,8 +208,6 @@
<option value="$APPLICATION_CONFIG_DIR$/scratches/scratch_4.txt" /> <option value="$APPLICATION_CONFIG_DIR$/scratches/scratch_4.txt" />
<option value="$PROJECT_DIR$/news.json" /> <option value="$PROJECT_DIR$/news.json" />
<option value="$PROJECT_DIR$/reader.js" /> <option value="$PROJECT_DIR$/reader.js" />
<option value="$PROJECT_DIR$/news.js" />
<option value="$PROJECT_DIR$/lifestyle.js" />
<option value="$PROJECT_DIR$/dist/stripped.json" /> <option value="$PROJECT_DIR$/dist/stripped.json" />
<option value="$PROJECT_DIR$/plugins/filter_location.js" /> <option value="$PROJECT_DIR$/plugins/filter_location.js" />
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" /> <option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
@ -222,8 +223,11 @@
<option value="$APPLICATION_CONFIG_DIR$/scratches/jobs-new.js" /> <option value="$APPLICATION_CONFIG_DIR$/scratches/jobs-new.js" />
<option value="$PROJECT_DIR$/.eslintrc" /> <option value="$PROJECT_DIR$/.eslintrc" />
<option value="$PROJECT_DIR$/jobs-new.js" /> <option value="$PROJECT_DIR$/jobs-new.js" />
<option value="$PROJECT_DIR$/fixer.js" /> <option value="$PROJECT_DIR$/pipes-server.js" />
<option value="$PROJECT_DIR$/jobs-local.js" /> <option value="$PROJECT_DIR$/jobs-local.js" />
<option value="$PROJECT_DIR$/news.js" />
<option value="$PROJECT_DIR$/fixer.js" />
<option value="$PROJECT_DIR$/lifestyle.js" />
<option value="$PROJECT_DIR$/jobs-corpus.js" /> <option value="$PROJECT_DIR$/jobs-corpus.js" />
</list> </list>
</option> </option>
@ -247,7 +251,6 @@
<sorting>DEFINITION_ORDER</sorting> <sorting>DEFINITION_ORDER</sorting>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="31" />
<option name="y" value="23" /> <option name="y" value="23" />
<option name="width" value="1966" /> <option name="width" value="1966" />
<option name="height" value="1129" /> <option name="height" value="1129" />
@ -522,14 +525,9 @@
<workItem from="1500567464596" duration="598000" /> <workItem from="1500567464596" duration="598000" />
<workItem from="1501109852743" duration="15000" /> <workItem from="1501109852743" duration="15000" />
<workItem from="1505124639040" duration="4225000" /> <workItem from="1505124639040" duration="4225000" />
<workItem from="1505137510801" duration="1223000" /> <workItem from="1505137510801" duration="2595000" />
</task> <workItem from="1505173578878" duration="8000" />
<task id="LOCAL-00058" summary="fixed plugins"> <workItem from="1506850611645" duration="4456000" />
<created>1467717018720</created>
<option name="number" value="00058" />
<option name="presentableId" value="LOCAL-00058" />
<option name="project" value="LOCAL" />
<updated>1467717018720</updated>
</task> </task>
<task id="LOCAL-00059" summary="fixed plugins"> <task id="LOCAL-00059" summary="fixed plugins">
<created>1467717088059</created> <created>1467717088059</created>
@ -867,31 +865,38 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1505138111254</updated> <updated>1505138111254</updated>
</task> </task>
<option name="localTasksCounter" value="107" /> <task id="LOCAL-00107" summary="jobs fix, reverted">
<created>1505142398653</created>
<option name="number" value="00107" />
<option name="presentableId" value="LOCAL-00107" />
<option name="project" value="LOCAL" />
<updated>1505142398653</updated>
</task>
<option name="localTasksCounter" value="108" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="93020000" /> <option name="totallyTimeSpent" value="98856000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="31" y="23" width="1966" height="1129" extended-state="0" /> <frame x="0" y="23" width="1966" height="1129" extended-state="0" />
<layout> <layout>
<window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.18936035" sideWeight="0.3410959" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.18936035" sideWeight="0.3410959" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13419023" sideWeight="0.65890414" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13419023" sideWeight="0.65890414" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.45089975" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33333334" sideWeight="0.36915168" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33333334" sideWeight="0.63341904" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32987553" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.5491003" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33333334" sideWeight="0.63084835" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20276953" sideWeight="0.54498714" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32896176" sideWeight="0.4838976" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838774" sideWeight="0.4838976" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3997773" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3997773" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32987553" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="GitLabIntegration" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="GitLabIntegration" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
@ -907,20 +912,25 @@
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33551913" sideWeight="0.34785393" order="8" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33333334" sideWeight="0.36915168" order="8" side_tool="true" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32987553" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.14956331" sideWeight="0.48606148" order="10" side_tool="false" content_ui="tabs" /> <window_info id="GitLabIntegration" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33551913" sideWeight="0.65214604" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33333334" sideWeight="0.63084835" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32896176" sideWeight="0.4838976" order="11" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.20276953" sideWeight="0.54498714" order="11" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2517617" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32896176" sideWeight="0.4838976" order="12" side_tool="false" content_ui="tabs" />
<window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.18936035" sideWeight="0.3410959" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13419023" sideWeight="0.65890414" order="0" side_tool="false" content_ui="combo" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32850778" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
<window_info id="SonarQube" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32962137" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" /> <window_info id="Atlassian " active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="16" side_tool="false" content_ui="tabs" />
<window_info id="SonarLint" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="14" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3281106" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="SonarQube" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32962137" sideWeight="0.5" order="15" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3997773" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3997773" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
</layout-to-restore> </layout-to-restore>
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -1031,13 +1041,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/fit.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="380">
<caret line="20" column="64" lean-forward="false" selection-start-line="20" selection-start-column="64" selection-end-line="20" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/dist/paleo.json" /> <entry file="file://$PROJECT_DIR$/dist/paleo.json" />
<entry file="file://$PROJECT_DIR$/package.json"> <entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -1067,13 +1070,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/pipes-server.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="342">
<caret line="18" column="0" lean-forward="false" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/dist/index.html" /> <entry file="file://$PROJECT_DIR$/dist/index.html" />
<entry file="file://$PROJECT_DIR$/html/index.html"> <entry file="file://$PROJECT_DIR$/html/index.html">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -1153,13 +1149,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/lifestyle.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="186" column="16" lean-forward="false" selection-start-line="186" selection-start-column="16" selection-end-line="186" selection-end-column="16" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/index.js"> <entry file="file://$PROJECT_DIR$/node_modules/rss-braider/index.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51"> <state relative-caret-position="51">
@ -1224,17 +1213,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0"> <state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/bayes.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="675">
<caret line="47" column="30" lean-forward="false" selection-start-line="47" selection-start-column="30" selection-end-line="47" selection-end-column="30" />
<folding>
<element signature="e#0#44#0" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1281,14 +1259,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/news.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345">
<caret line="23" column="14" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="188" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.eslintrc"> <entry file="file://$PROJECT_DIR$/.eslintrc">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285"> <state relative-caret-position="285">
@ -1304,47 +1274,89 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-special.js"> <entry file="file://$PROJECT_DIR$/bayes.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="315"> <state relative-caret-position="675">
<caret line="21" column="40" lean-forward="false" selection-start-line="20" selection-start-column="4" selection-end-line="21" selection-end-column="40" /> <caret line="47" column="30" lean-forward="false" selection-start-line="47" selection-start-column="30" selection-end-line="47" selection-end-column="30" />
<folding>
<element signature="e#0#44#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/pipes-server.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="20" column="27" lean-forward="false" selection-start-line="20" selection-start-column="27" selection-end-line="20" selection-end-column="27" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-new.js"> <entry file="file://$PROJECT_DIR$/jobs-new.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1695"> <state relative-caret-position="715">
<caret line="113" column="3" lean-forward="false" selection-start-line="36" selection-start-column="13" selection-end-line="113" selection-end-column="3" /> <caret line="63" column="5" lean-forward="false" selection-start-line="63" selection-start-column="5" selection-end-line="63" selection-end-column="5" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/fixer.js"> <entry file="file://$PROJECT_DIR$/fixer.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="521"> <state relative-caret-position="573">
<caret line="380" column="0" lean-forward="false" selection-start-line="380" selection-start-column="0" selection-end-line="380" selection-end-column="0" /> <caret line="249" column="39" lean-forward="false" selection-start-line="249" selection-start-column="39" selection-end-line="249" selection-end-column="39" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/fit.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-439">
<caret line="20" column="64" lean-forward="false" selection-start-line="20" selection-start-column="64" selection-end-line="20" selection-end-column="64" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lifestyle.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="81" column="105" lean-forward="false" selection-start-line="81" selection-start-column="105" selection-end-line="81" selection-end-column="105" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/news.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="181">
<caret line="50" column="42" lean-forward="false" selection-start-line="50" selection-start-column="17" selection-end-line="50" selection-end-column="42" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-local.js"> <entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159"> <state relative-caret-position="15">
<caret line="91" column="3" lean-forward="false" selection-start-line="91" selection-start-column="3" selection-end-line="91" selection-end-column="3" /> <caret line="39" column="42" lean-forward="false" selection-start-line="39" selection-start-column="17" selection-end-line="39" selection-end-column="42" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-corpus.js"> <entry file="file://$PROJECT_DIR$/jobs-corpus.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168"> <state relative-caret-position="36">
<caret line="327" column="1" lean-forward="false" selection-start-line="327" selection-start-column="1" selection-end-line="327" selection-end-column="1" /> <caret line="290" column="40" lean-forward="false" selection-start-line="290" selection-start-column="15" selection-end-line="290" selection-end-column="40" />
<folding> <folding>
<marker date="1505142392000" expanded="true" signature="16278:16298" ph="..." /> <marker date="1506878694000" expanded="true" signature="16278:16298" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-special.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1407">
<caret line="21" column="40" lean-forward="false" selection-start-line="20" selection-start-column="4" selection-end-line="21" selection-end-column="40" />
<folding />
</state>
</provider>
</entry>
</component> </component>
</project> </project>

520
fixer.js
View File

@ -2,357 +2,245 @@ const querystring = require('querystring');
const url = require('url'); const url = require('url');
let list = [ let list = [
{
{ "count": 100,
"count": 100, "feed_url": "http://feeds2.feedburner.com/acquire"
"feed_url": "http://www.jobserve.com/MySearch/BAEBF3BDF82B8FEF.rss", },
"page": "https://www.jobserve.com/gb/en/JobSearch.aspx?shid=A7ACEE7915E274717C"
},
{
"count": 100, {
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=47820652"
},
{ "count": 100,
"feed_url": "http://www.askmen.com/style.rss"
},
{
"count": 100, "count": 100,
"feed_url": "http://www.jobserve.com/MySearch/6DA9769BA89834AA.rss" "feed_url": "http://www.askmen.com/fine_living.rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.JobServe.com/MySearch/EDF47BEA6B31EF.rss" "feed_url": "http://www.askmen.com/money.rss"
}, }
{ /*,
{
"count": 100, "count" : 100,
"feed_url": "http://www.JobServe.com/MySearch/3CAD044BEF2BFA.rss" "feed_url" : "http://abetterguy.com/feed/"
}, }*/,
{
"count": 100, {
"feed_url": "http://www.JobServe.com/MySearch/C7B25D86D0844A.rss"
},
{
"count": 100, "count": 100,
"feed_url": "http://www.JobServe.com/MySearch/64A3EEF615FA4C.rss" "feed_url": "http://www.dmarge.com/feed"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21564698" "feed_url": "http://www.esquire.com/rss/all.xml"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21564712" "feed_url": "http://feeds.feedburner.com/gearpatrol"
}, },
{
"count": 100, /*{
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21942123"
},
{
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33166238" "feed_url": "http://www.getkempt.com/rss.xml"
}, },*/
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34888173" "feed_url": "http://feeds.feedburner.com/kinowear"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/m7dp711z2r.xml" "feed_url": "http://www.mensfitness.co.uk/feeds/all"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/pfvf7o7z2r.xml" "feed_url": "http://feeds.feedburner.com/TheArtOfManliness"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/lluqnt8z2r.xml" "feed_url": "http://www.trunkclub.com/blog/feed"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/tu33qt8z2r.xml" "feed_url": "http://feeds.feedburner.com/acontinuouslean/"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/u3btnz8z2r.xml" "feed_url": "http://www.fashionbeans.com/feed/"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33256062" "feed_url": "http://feeds.feedburner.com/MensFlair?format=xml"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33450169" "feed_url": "http://feeds.feedburner.com/TheChoosyBeggar"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34517029" "feed_url": "http://www.valetmag.com/distribution/rss_all.xml"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34888105" "feed_url": "http://putthison.com/rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.technojobs.co.uk/rss.php/glasgow/searchtypeand/locationScotland/sortbyrelevant/jobtypeall" "feed_url": "http://dieworkwear.com/rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobserve.com/MySearch/6FC7E9ED5F042ECB.rss" "feed_url": "http://menofhabit.tumblr.com/rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=London&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=CO_LONDON&compare_search=London&search_emp_mkt_cd=ALL" "feed_url": "http://www.hodinkee.com/blog/rss.xml"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=Glasgow&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=TO_G1_GLASGOW&compare_search=Glasgow&search_emp_mkt_cd=ALL" "feed_url": "http://feeds.feedburner.com/firstinwatches"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&search_emp_mkt_cd=ALL" "feed_url": "http://feeds2.feedburner.com/primermagazine/otzU"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=Germany&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=CY_GERMANY&compare_search=Germany&search_emp_mkt_cd=ALL" "feed_url": "http://chrisguillebeau.com/3x5/feed/"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/b1d7e6c3a9a11964z3r.xml" "feed_url": "http://feeds.feedburner.com/TheAwesomer"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/b1d7e6c3a9a11964z3r.xml" "feed_url": "http://bondclothes.blogspot.com/feeds/posts/default"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.jobserve.com/MySearch/CA49421A86CA3F74.rss" "feed_url": "http://affordablebond007.tumblr.com/rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/ddeded091b6f6d33z3r.xml" "feed_url": "http://thecozyspace.tumblr.com/rss"
}, },
{ {
"count": 100, "count": 100,
"feed_url": "http://www.s1jobs.com/xml/3eafc1ea20f1ca02z3r.xml" "feed_url": "http://www.gentlemansgazette.com/feed/"
} },
{
, "count": 100,
{ "feed_url": "http://feeds.feedburner.com/wellspent"
/* "name" : "JobServe",*/ },
"count" : 100, {
"feed_url" : "http://www.JobServe.com/MySearch/EDF47BEA6B31EF.rss"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.JobServe.com/MySearch/3CAD044BEF2BFA.rss"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.JobServe.com/MySearch/C7B25D86D0844A.rss"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.JobServe.com/MySearch/64A3EEF615FA4C.rss"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21564698"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21564712"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=21942123"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33166238"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34888173"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/m7dp711z2r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/pfvf7o7z2r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/lluqnt8z2r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/tu33qt8z2r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/u3btnz8z2r.xml"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33256062"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=33450169"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34517029"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.purelyit.co.uk/cgi-bin/advsearch?rss_feed=1&daysback=1&jbe_id=34888105"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.technojobs.co.uk/rss.php/glasgow/searchtypeand/locationScotland/sortbyrelevant/jobtypeall"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobserve.com/MySearch/6FC7E9ED5F042ECB.rss"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html,%20asp,%20web,%20sql,%20delphi,%20vb,%20vbscript,%20php,%20ajax,%20mysql,%20sqlserver,%20javascript,%20intranet,%20vmware,%20virtulization&location_include=Abu%20Dhabi&compare_resolved=RE_ABUDHABI_UNITEDARABEMIRATES&compare_search=Abu%20Dhabi&jobtype=X&search_emp_mkt_cd=ALL"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=London&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=CO_LONDON&compare_search=London&search_emp_mkt_cd=ALL"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=Glasgow&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=TO_G1_GLASGOW&compare_search=Glasgow&search_emp_mkt_cd=ALL"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&search_emp_mkt_cd=ALL"
} ,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobsite.co.uk/cgi-bin/advsearch?rss_feed=1&skill_atleast=html%20,%20asp%20,%20web%20,%20sql%20,%20delphi%20,%20vb%20,%20vbscript%20,%20php%20,%20ajax%20,%20mysql%20,%20sqlserver%20,%20javascript%20,%20intranet%20,%20vmware%20,%20virtulization&location_include=Germany&location_within=10&reqd_salary=ANY|&daysback=7&scc=UK&compare_resolved=CY_GERMANY&compare_search=Germany&search_emp_mkt_cd=ALL"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/b1d7e6c3a9a11964z3r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/b1d7e6c3a9a11964z3r.xml"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobisjob.co.uk/rss?what=web+developer+javascript&where=glasgow&jobType=Contract"
}
,
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobisjob.co.uk/rss?what=javascript&where=glasgow&jobType=Contract"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobisjob.co.uk/rss?what=asp&where=glasgow&jobType=Contract%2Ftemp"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.jobserve.com/MySearch/CA49421A86CA3F74.rss"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/ddeded091b6f6d33z3r.xml"
},
{
/* "name" : "JobServe",*/
"count" : 100,
"feed_url" : "http://www.s1jobs.com/xml/3eafc1ea20f1ca02z3r.xml"
}
]; "count": 100,
"feed_url": "http://hespokestyle.com/feed/"
},
{
"count": 100,
"feed_url": "http://effortlessgent.com/feed/"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/thisfits"
},
/*{
"count": 100,
"feed_url": "http://www.businessoffashion.com/syndication/feed"
},*/
{
"count": 100,
"feed_url": "http://dieworkwear.com/rss"
},
{
"count": 100,
"feed_url": "http://georgehahn.com/feed/"
},
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/gear"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/food-drink"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/travel"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/adventure"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/health-fitness"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/style"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/uncrate"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/ManOfMany"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/nymag/vulture"
}
,
{
"count": 100,
"feed_url": "http://www.mantelligence.com/feed/"
}
];
let newArray = list.map((item) => { let newArray = list.map((item) => {

View File

@ -7,267 +7,94 @@ var outputFile = 'lifestyle', RssBraider = require('rss-braider'), fs = require(
// feeds.simple_test_feed = require("./config/feed").feed; // feeds.simple_test_feed = require("./config/feed").feed;
// Or define in-line // Or define in-line
feeds.simple_test_feed = { feeds.simple_test_feed = {
"feed_name": "feed", "default_count": 1, "no_cdata_fields": [], // Don't wrap these fields in CDATA tags 'feed_name': 'feed',
"meta": { 'default_count': 1,
"title": "Lifestyle", 'no_cdata_fields': [], // Don't wrap these fields in CDATA tags
"description": "Combined Lifestyle Feed", 'meta': {
'title': 'Lifestyle',
'description': 'Combined Lifestyle Feed',
'site_url': 'http://pipes.silvrtree.co.uk/lifestyle.xml' 'site_url': 'http://pipes.silvrtree.co.uk/lifestyle.xml'
}, "plugins": ['filter_last_week', 'fix_images', 'fix_scripts'], "sources": [ },
{ 'plugins': ['filter_last_week', 'fix_images', 'fix_scripts'],
'sources': [{'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds2.feedburner.com%2Facquire'}, {
"count": 100, 'count': 100,
"feed_url": "http://feeds2.feedburner.com/acquire" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.askmen.com%2Fstyle.rss'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.askmen.com%2Ffine_living.rss'}, {
'count': 100,
{ 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.askmen.com%2Fmoney.rss'
}, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.dmarge.com%2Ffeed'}, {
"count": 100, 'count': 100,
"feed_url": "http://www.askmen.com/style.rss" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.esquire.com%2Frss%2Fall.xml'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Fgearpatrol'}, {
{ 'count': 100,
'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Fkinowear'
"count": 100, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensfitness.co.uk%2Ffeeds%2Fall'}, {
"feed_url": "http://www.askmen.com/fine_living.rss" 'count': 100,
}, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2FTheArtOfManliness'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.trunkclub.com%2Fblog%2Ffeed'}, {
'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Facontinuouslean%2F'
"feed_url": "http://www.askmen.com/money.rss" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.fashionbeans.com%2Ffeed%2F'}, {
} 'count': 100,
/*, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2FMensFlair%3Fformat%3Dxml'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2FTheChoosyBeggar'}, {
'count': 100,
"count" : 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.valetmag.com%2Fdistribution%2Frss_all.xml'
"feed_url" : "http://abetterguy.com/feed/" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fputthison.com%2Frss'}, {
}*/, 'count': 100,
'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fdieworkwear.com%2Frss'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fmenofhabit.tumblr.com%2Frss'}, {
'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.hodinkee.com%2Fblog%2Frss.xml'
"feed_url": "http://www.dmarge.com/feed" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Ffirstinwatches'}, {
}, 'count': 100,
{ 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds2.feedburner.com%2Fprimermagazine%2FotzU'
}, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fchrisguillebeau.com%2F3x5%2Ffeed%2F'}, {
"count": 100, 'count': 100,
"feed_url": "http://www.esquire.com/rss/all.xml" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2FTheAwesomer'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fbondclothes.blogspot.com%2Ffeeds%2Fposts%2Fdefault'}, {
{ 'count': 100,
'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Faffordablebond007.tumblr.com%2Frss'
"count": 100, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fthecozyspace.tumblr.com%2Frss'}, {
"feed_url": "http://feeds.feedburner.com/gearpatrol" 'count': 100,
}, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.gentlemansgazette.com%2Ffeed%2F'
}, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Fwellspent'}, {
/*{ 'count': 100,
'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fhespokestyle.com%2Ffeed%2F'
"count": 100, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Feffortlessgent.com%2Ffeed%2F'}, {
"feed_url": "http://www.getkempt.com/rss.xml" 'count': 100,
},*/ 'feed_url': 'http://52.211.105.9:6566/https%3A%2F%2Ffeeds.feedburner.com%2Fthisfits'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fgeorgehahn.com%2Ffeed%2F'}, {
'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Fgear'
"feed_url": "http://feeds.feedburner.com/kinowear" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Ffood-drink'}, {
}, 'count': 100,
{ 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Ftravel'
}, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Fadventure'}, {
"count": 100, 'count': 100,
"feed_url": "http://www.mensfitness.co.uk/feeds/all" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Fhealth-fitness'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mensjournal.com%2Fservices%2Frss%2Fstyle'}, {
{ 'count': 100,
'feed_url': 'http://52.211.105.9:6566/https%3A%2F%2Ffeeds.feedburner.com%2Funcrate'
"count": 100, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/https%3A%2F%2Ffeeds.feedburner.com%2FManOfMany'}, {
"feed_url": "http://feeds.feedburner.com/TheArtOfManliness" 'count': 100,
}, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Fnymag%2Fvulture'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.mantelligence.com%2Ffeed%2F'}]
"count": 100,
"feed_url": "http://www.trunkclub.com/blog/feed"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/acontinuouslean/"
},
{
"count": 100,
"feed_url": "http://www.fashionbeans.com/feed/"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/MensFlair?format=xml"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/TheChoosyBeggar"
},
{
"count": 100,
"feed_url": "http://www.valetmag.com/distribution/rss_all.xml"
},
{
"count": 100,
"feed_url": "http://putthison.com/rss"
},
{
"count": 100,
"feed_url": "http://dieworkwear.com/rss"
},
{
"count": 100,
"feed_url": "http://menofhabit.tumblr.com/rss"
},
{
"count": 100,
"feed_url": "http://www.hodinkee.com/blog/rss.xml"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/firstinwatches"
},
{
"count": 100,
"feed_url": "http://feeds2.feedburner.com/primermagazine/otzU"
},
{
"count": 100,
"feed_url": "http://chrisguillebeau.com/3x5/feed/"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/TheAwesomer"
},
{
"count": 100,
"feed_url": "http://bondclothes.blogspot.com/feeds/posts/default"
},
{
"count": 100,
"feed_url": "http://affordablebond007.tumblr.com/rss"
},
{
"count": 100,
"feed_url": "http://thecozyspace.tumblr.com/rss"
},
{
"count": 100,
"feed_url": "http://www.gentlemansgazette.com/feed/"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/wellspent"
},
{
"count": 100,
"feed_url": "http://hespokestyle.com/feed/"
},
{
"count": 100,
"feed_url": "http://effortlessgent.com/feed/"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/thisfits"
},
/*{
"count": 100,
"feed_url": "http://www.businessoffashion.com/syndication/feed"
},*/
{
"count": 100,
"feed_url": "http://dieworkwear.com/rss"
},
{
"count": 100,
"feed_url": "http://georgehahn.com/feed/"
},
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/gear"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/food-drink"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/travel"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/adventure"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/health-fitness"
}
,
{
"count": 100,
"feed_url": "http://www.mensjournal.com/services/rss/style"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/uncrate"
},
{
"count": 100,
"feed_url": "https://feeds.feedburner.com/ManOfMany"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/nymag/vulture"
}
/*,
{
"count": 100,
"feed_url": "http://www.mantelligence.com/feed/"
}
*/
]
}; };
var braider_options = { var braider_options = {
feeds: feeds, feeds: feeds,
indent: " ", indent: ' ',
date_sort_order: "desc", // Newest first date_sort_order: 'desc', // Newest first
log_level: "warn", log_level: 'warn',
dedupe_fields: ['link', 'guid'], dedupe_fields: ['link', 'guid'],
plugins_directories: [__dirname + "/plugins/"] plugins_directories: [__dirname + '/plugins/']
}; };
var rss_braider = RssBraider.createClient(braider_options); var rss_braider = RssBraider.createClient(braider_options);
// Override logging level (debug, info, warn, err, off) // Override logging level (debug, info, warn, err, off)
//rss_braider.logger.level('off'); //rss_braider.logger.level('off');
rss_braider.processFeed('simple_test_feed', 'json', function(err, data) { rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
if (err) { if (err) {
return console.log(err); return console.log(err);
} }
@ -275,25 +102,25 @@ rss_braider.processFeed('simple_test_feed', 'json', function(err, data) {
var j = JSON.parse(data); var j = JSON.parse(data);
var ejsOutput = ejs.compile(str)(j); var ejsOutput = ejs.compile(str)(j);
fs.writeFile(__dirname + "/dist/" + outputFile + ".json", fs.writeFile(__dirname + '/dist/' + outputFile + '.json',
data, data,
function(err) { function (err) {
if (err) { if (err) {
return console.log(err); return console.log(err);
} }
console.log("The file was saved!"); console.log('The file was saved!');
}); });
fs.writeFile(__dirname + "/dist/" + outputFile + ".html", fs.writeFile(__dirname + '/dist/' + outputFile + '.html',
ejsOutput, ejsOutput,
function(err) { function (err) {
if (err) { if (err) {
return console.log(err); return console.log(err);
} }
console.log("The file was saved!"); console.log('The file was saved!');
}); });
}); });

188
news.js
View File

@ -13,142 +13,78 @@ var logger = log4js.getLogger();
// Or define in-line // Or define in-line
feeds.simple_test_feed = { feeds.simple_test_feed = {
"feed_name": "feed", 'feed_name': 'feed',
"default_count": 1, 'default_count': 1,
"no_cdata_fields": ['description'], // Don't wrap these fields in CDATA tags 'no_cdata_fields': ['description'], // Don't wrap these fields in CDATA tags
"meta": { 'meta': {
"title": "News", 'title': 'News',
"description": "Combined News Feed", 'description': 'Combined News Feed',
'site_url': 'http://pipes.silvrtree.co.uk/news.xml' 'site_url': 'http://pipes.silvrtree.co.uk/news.xml'
}, },
"plugins": [ 'plugins': [
'filter_3_days', 'fix_images', 'fix_scripts' 'filter_3_days', 'fix_images', 'fix_scripts'
], ],
'custom_namespaces' : { 'custom_namespaces': {
"content" : "http://purl.org/rss/1.0/modules/content/", 'content': 'http://purl.org/rss/1.0/modules/content/',
"slash" : "http://purl.org/rss/1.0/modules/slash/", 'slash': 'http://purl.org/rss/1.0/modules/slash/',
"media" : "http://search.yahoo.com/mrss/", 'media': 'http://search.yahoo.com/mrss/',
"ev" : "http://purl.org/rss/2.0/modules/event/", 'ev': 'http://purl.org/rss/2.0/modules/event/',
"sy" : "http://purl.org/rss/1.0/modules/syndication/", 'sy': 'http://purl.org/rss/1.0/modules/syndication/',
"wfw" : "http://wellformedweb.org/CommentAPI/", 'wfw': 'http://wellformedweb.org/CommentAPI/',
"dc" : "http://purl.org/dc/elements/1.1/", 'dc': 'http://purl.org/dc/elements/1.1/',
"atom" : "http://www.w3.org/2005/Atom" 'atom': 'http://www.w3.org/2005/Atom'
}, },
"sources": [ 'sources': [{'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fqz.com%2Ffeed%2F'}, {
{ 'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds2.feedburner.com%2Fbusinessinsider'
"feed_url": "http://qz.com/feed/" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FUKTopNews'}, {
}, 'count': 100,
{ 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FUKdomesticNews'
"count": 100, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FUKWorldNews'}, {
"feed_url": "http://feeds2.feedburner.com/businessinsider" 'count': 100,
}, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FtopNews'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.reuters.com%2FReuters%2FworldNews'}, {
"count": 100, 'count': 100,
"feed_url": "http://feeds.reuters.com/reuters/UKTopNews" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fhosted2.ap.org%2Fatom%2FAPDEFAULT%2Fcae69a7523db45408eeb2b3a98c0c9c5'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.cityam.com%2Ffeeds%2Fmain.xml'}, {
{ 'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.londonlovesbusiness.com%2Fnavrss%3Fnavsectioncode%3D121'
"feed_url": "http://feeds.reuters.com/reuters/UKdomesticNews" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.ibtimes.co.uk%2Frss%2Fuk'}, {
}, 'count': 100,
{ 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.bbci.co.uk%2Fnews%2Frss.xml%3Fedition%3Duk'
"count": 100, }, {
"feed_url": "http://feeds.reuters.com/reuters/UKWorldNews" 'count': 100,
}, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.bbci.co.uk%2Fnews%2Fscotland%2Frss.xml%3Fedition%3Duk'
{ }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fnews.google.com%2F%3Foutput%3Drss'}, {
"count": 100, 'count': 100,
"feed_url": "http://feeds.reuters.com/reuters/topNews" 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2FTheAtlantic'
}, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.telegraph.co.uk%2Fnews%2Frss.xml'}, {
{ 'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.guardian.co.uk%2Frssfeed%2F0%2C%2C1%2C00.xml'
"feed_url": "http://feeds.reuters.com/Reuters/worldNews" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.marketwatch.com%2Frss%2Ftopstories'}, {
} 'count': 100,
'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffeeds.feedburner.com%2Fwingsoverscotland%2FFgKv'
, }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fbellacaledonia.org.uk%2Ffeed%2F'}, {
/*{ 'count': 100,
"count": 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Fwww.theweek.co.uk%2Ffeeds%2Fall'
"feed_url": "http://feeds.reuters.com/reuters/globalmarketsNews" }, {'count': 100, 'feed_url': 'http://52.211.105.9:6566/http%3A%2F%2Ffivethirtyeight.com%2Fall%2Ffeed'}]
},*/
{
"count": 100,
"feed_url": "http://hosted2.ap.org/atom/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5"
},
{
"count": 100,
"feed_url": "http://www.cityam.com/feeds/main.xml"
},
{
"count": 100,
"feed_url": "http://www.londonlovesbusiness.com/navrss?navsectioncode=121"
},
{
"count": 100,
"feed_url": "http://www.ibtimes.co.uk/rss/uk"
},
{
"count": 100,
"feed_url": "http://feeds.bbci.co.uk/news/rss.xml?edition=uk"
},
{
"count": 100,
"feed_url": "http://feeds.bbci.co.uk/news/scotland/rss.xml?edition=uk"
},
{
"count": 100,
"feed_url": "http://news.google.com/?output=rss"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/TheAtlantic"
},
{
"count": 100,
"feed_url": "http://www.telegraph.co.uk/news/rss.xml"
},
{
"count": 100,
"feed_url": "http://www.guardian.co.uk/rssfeed/0,,1,00.xml"
},
{
"count": 100,
"feed_url": "http://www.marketwatch.com/rss/topstories"
},
{
"count": 100,
"feed_url": "http://feeds.feedburner.com/wingsoverscotland/FgKv"
},
{
"count": 100,
"feed_url": "http://bellacaledonia.org.uk/feed/"
}
,
{
"count": 100,
"feed_url": "http://www.theweek.co.uk/feeds/all"
}
,
{
"count": 100,
"feed_url": "http://fivethirtyeight.com/all/feed"
}
]
} }
; ;
var braider_options = { var braider_options = {
feeds: feeds, feeds: feeds,
indent: " ", indent: ' ',
date_sort_order: "desc", // Newest first date_sort_order: 'desc', // Newest first
log_level: "warn", log_level: 'warn',
dedupe_fields: ['link', 'guid'], dedupe_fields: ['link', 'guid'],
plugins_directories: [__dirname + "/plugins/"] plugins_directories: [__dirname + '/plugins/']
}; };
var rss_braider = RssBraider.createClient(braider_options); var rss_braider = RssBraider.createClient(braider_options);
// Override logging level (debug, info, warn, err, off) // Override logging level (debug, info, warn, err, off)
//rss_braider.logger.level('off'); //rss_braider.logger.level('off');
rss_braider.processFeed('simple_test_feed', 'json', function(err, data) { rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
console.log('A'); console.log('A');
if (err) { if (err) {
logger.error(err); logger.error(err);
@ -163,26 +99,26 @@ rss_braider.processFeed('simple_test_feed', 'json', function(err, data) {
var ejsOutput = ejs.compile(str)(j); var ejsOutput = ejs.compile(str)(j);
console.log('D'); console.log('D');
fs.writeFile(__dirname + "/dist/" + outputFile + ".html", fs.writeFile(__dirname + '/dist/' + outputFile + '.html',
ejsOutput, ejsOutput,
function(err) { function (err) {
if (err) { if (err) {
logger.error(err); logger.error(err);
return console.error(err); return console.error(err);
} }
console.log("The file was saved!"); console.log('The file was saved!');
}); });
fs.writeFile(__dirname + "/dist/" + outputFile + ".json", fs.writeFile(__dirname + '/dist/' + outputFile + '.json',
data, data,
function(err) { function (err) {
if (err) { if (err) {
logger.error(err); logger.error(err);
return console.error(err); return console.error(err);
} }
console.log("The file was saved!"); console.log('The file was saved!');
}); });
}); });

View File

@ -5,12 +5,12 @@ var lastcheck = 0;
var btcCache = {}, fxCache = {}; var btcCache = {}, fxCache = {};
//app.configure(function () { //app.configure(function () {
app.set('port', 9002); app.set('port', 9002);
app.use(morgan('combined')); app.use(morgan('combined'));
app.use(cookieparser('your secret here')); app.use(cookieparser('your secret here'));
app.use(session({ app.use(session({
secret: '1234567890QWERTY', resave: false, secret: '1234567890QWERTY', resave: false,
saveUninitialized: false saveUninitialized: false
})); }));
/* 'default', 'short', 'tiny', 'dev' */ /* 'default', 'short', 'tiny', 'dev' */
app.use(methodoverride()); app.use(methodoverride());
@ -21,12 +21,12 @@ app.use(bodyparser.urlencoded({extended: false}));
app.use(bodyparser.json()); app.use(bodyparser.json());
app.use(function (req, res, next) { app.use(function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With"); res.header("Access-Control-Allow-Headers", "X-Requested-With");
next(); next();
}); });
//app.use(app.router); //app.use(app.router);
app.use(express.static(path.join(__dirname, 'dist'))); app.use(express.static(path.join(__dirname, 'dist')));
app.use(errorhandler({dumpExceptions: true, showStack: true})); app.use(errorhandler({dumpExceptions: true, showStack: true}));
@ -38,5 +38,5 @@ app.use(errorhandler({dumpExceptions: true, showStack: true}));
* create the server * create the server
*/ */
http.createServer(app).listen(app.get('port'), function () { http.createServer(app).listen(app.get('port'), function () {
console.log("Express server listening on port " + app.get('port')); console.log("Express server listening on port " + app.get('port'));
}); });