added some news feeds

This commit is contained in:
Martin Donnelly 2018-11-29 10:39:51 +00:00
parent 208fc769d7
commit 4e7268b88a
7 changed files with 208 additions and 234 deletions

View File

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/.eslintrc.json" afterDir="false" />
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="paused jobs-special for the time being">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/feeds/news.json" beforeDir="false" afterPath="$PROJECT_DIR$/feeds/news.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gather.js" beforeDir="false" afterPath="$PROJECT_DIR$/gather.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/node_modules/lodash/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/node_modules/lodash/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/node_modules/lodash/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/node_modules/lodash/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
</list>
<ignored path="rinser.iws" />
<ignored path=".idea/workspace.xml" />
@ -20,63 +24,15 @@
<component name="CreatePatchCommitExecutor">
<option name="PATCH_PATH" value="" />
</component>
<component name="FUSProjectUsageTrigger">
<session id="-1060116986">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.closed" value="1" />
<entry key="project.open.time.1" value="1" />
<entry key="project.open.time.4" value="1" />
<entry key="project.opened" value="2" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
<counts>
<entry key="js" value="1" />
<entry key="json" value="1" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.open">
<counts>
<entry key="JSON" value="1" />
<entry key="JavaScript" value="1" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
<counts>
<entry key="js" value="7" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="JavaScript" value="7" />
</counts>
</usages-collector>
<usages-collector id="statistics.js.language.service.starts">
<counts>
<entry key="ESLintLanguageService" value="2" />
</counts>
</usages-collector>
</session>
</component>
<component name="FavoritesManager">
<favorites_list name="rinser" />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<caret line="15" column="8" selection-start-line="15" selection-start-column="8" selection-end-line="15" selection-end-column="8" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="110">
<state relative-caret-position="90">
<caret line="5" column="66" selection-start-line="5" selection-start-column="66" selection-end-line="5" selection-end-column="66" />
</state>
</provider>
@ -85,7 +41,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
<state relative-caret-position="72">
<caret line="4" column="77" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="77" />
</state>
</provider>
@ -94,17 +50,35 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<state relative-caret-position="54">
<caret line="3" column="54" selection-start-line="3" selection-start-column="54" selection-end-line="3" selection-end-column="54" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="75" column="7" lean-forward="true" selection-start-line="75" selection-start-column="7" selection-end-line="75" selection-end-column="7" />
<state relative-caret-position="2178">
<caret line="121" column="19" selection-start-line="121" selection-start-column="19" selection-end-line="121" selection-end-column="19" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="747">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/feeds/news.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="212">
<caret line="108" column="19" lean-forward="true" selection-start-line="108" selection-start-column="19" selection-end-line="108" selection-end-column="19" />
</state>
</provider>
</entry>
@ -112,7 +86,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<state relative-caret-position="180">
<caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
</state>
</provider>
@ -130,7 +104,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<state relative-caret-position="270">
<caret line="15" column="62" selection-end-line="146" />
</state>
</provider>
@ -139,7 +113,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<state relative-caret-position="126">
<caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" />
</state>
</provider>
@ -241,7 +215,6 @@
<option value="$PROJECT_DIR$/news.js" />
<option value="$PROJECT_DIR$/news.json" />
<option value="$PROJECT_DIR$/jobs-special.js" />
<option value="$PROJECT_DIR$/feeds/news.json" />
<option value="$PROJECT_DIR$/feeds/paleo.json" />
<option value="$PROJECT_DIR$/feeds/jobs-local.json" />
<option value="$PROJECT_DIR$/feeds/tech.json" />
@ -260,11 +233,10 @@
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
<option value="$PROJECT_DIR$/plugins/filter_show.js" />
<option value="$PROJECT_DIR$/gather.js" />
<option value="$PROJECT_DIR$/feeds/news.json" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsFlowSettings">
<service-enabled>false</service-enabled>
<exe-path />
@ -272,86 +244,11 @@
<other-services-enabled>false</other-services-enabled>
<auto-save>true</auto-save>
</component>
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<gulpfiles>
<GulpfileState>
<gulpfile-path>$PROJECT_DIR$/gulpfile.js</gulpfile-path>
<tasks>
<GulpTaskState>
<task-name>scripts</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>vendor</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>remote</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>styles</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>partials</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>index</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>clean</task-name>
</GulpTaskState>
<GulpTaskState>
<dependencies>
<dependency value="clean" />
</dependencies>
<task-name>default</task-name>
</GulpTaskState>
</tasks>
</GulpfileState>
<GulpfileState>
<gulpfile-path>$PROJECT_DIR$/v2.gulpfile.js</gulpfile-path>
<tasks>
<GulpTaskState>
<task-name>scripts</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>vendor</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>remote</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>styles</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>partials</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>index</task-name>
</GulpTaskState>
<GulpTaskState>
<task-name>clean</task-name>
</GulpTaskState>
<GulpTaskState>
<dependencies>
<dependency value="clean" />
</dependencies>
<task-name>default</task-name>
</GulpTaskState>
</tasks>
</GulpfileState>
</gulpfiles>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="NodePackageJsonFileManager">
<packageJsonPaths>
<path value="$PROJECT_DIR$/package.json" />
</packageJsonPaths>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="265" />
<option name="y" value="24" />
<component name="ProjectFrameBounds">
<option name="x" value="629" />
<option name="y" value="230" />
<option name="width" value="1759" />
<option name="height" value="1106" />
<option name="height" value="1105" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
@ -367,6 +264,16 @@
<item name="rinser" type="b2602c69:ProjectViewProjectNode" />
<item name="Rinser" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="rinser" type="b2602c69:ProjectViewProjectNode" />
<item name="Rinser" type="462c0819:PsiDirectoryNode" />
<item name="feeds" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="rinser" type="b2602c69:ProjectViewProjectNode" />
<item name="Rinser" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
@ -399,7 +306,7 @@
<property name="js-jscs-nodeInterpreter" value="C:\Program Files\nodejs\node.exe" />
<property name="js.buildTools.gulp.gulp_package_dir" value="$PROJECT_DIR$/node_modules/gulp" />
<property name="js.buildTools.gulp.node_interpreter" value="C:\Program Files\nodejs\node.exe" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../docket" />
<property name="list.type.of.created.stylesheet" value="SCSS" />
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.jscs" value="true" />
@ -444,34 +351,34 @@
</option>
</component>
<component name="RunManager" selected="Node.js.gather.js">
<configuration name="index.html" type="JavascriptDebugType" factoryName="JavaScript Debug" temporary="true" nameIsGenerated="true" uri="http://localhost:63342/rinser/dist/index.html">
<configuration name="index.html" type="JavascriptDebugType" temporary="true" nameIsGenerated="true" uri="http://localhost:63342/rinser/dist/index.html">
<method v="2" />
</configuration>
<configuration name="Lifestyle" type="NodeJSConfigurationType" factoryName="Node.js" singleton="false" path-to-js-file="lifestyle.js" working-dir="$PROJECT_DIR$">
<configuration name="Lifestyle" type="NodeJSConfigurationType" singleton="true" path-to-js-file="lifestyle.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="News" type="NodeJSConfigurationType" factoryName="Node.js" path-to-js-file="news.js" working-dir="$PROJECT_DIR$">
<configuration name="News" type="NodeJSConfigurationType" path-to-js-file="news.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="Pipes server" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node" path-to-js-file="pipes-server.js" working-dir="$PROJECT_DIR$">
<configuration name="Pipes server" type="NodeJSConfigurationType" path-to-node="$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node" path-to-js-file="pipes-server.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="Tech" type="NodeJSConfigurationType" factoryName="Node.js" path-to-js-file="tech.js" working-dir="$PROJECT_DIR$">
<configuration name="Tech" type="NodeJSConfigurationType" path-to-js-file="tech.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="Test" type="NodeJSConfigurationType" factoryName="Node.js" path-to-js-file="test.js" working-dir="$PROJECT_DIR$">
<configuration name="Test" type="NodeJSConfigurationType" path-to-js-file="test.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="fixer.js" type="NodeJSConfigurationType" factoryName="Node.js" temporary="true" path-to-node="$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node" path-to-js-file="fixer.js" working-dir="$PROJECT_DIR$">
<configuration name="fixer.js" type="NodeJSConfigurationType" temporary="true" path-to-node="$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node" path-to-js-file="fixer.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="gather.js" type="NodeJSConfigurationType" factoryName="Node.js" temporary="true" nameIsGenerated="true" path-to-js-file="gather.js" working-dir="$PROJECT_DIR$">
<configuration name="gather.js" type="NodeJSConfigurationType" temporary="true" nameIsGenerated="true" path-to-js-file="gather.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="jobs-special.js" type="NodeJSConfigurationType" factoryName="Node.js" temporary="true" path-to-js-file="jobs-special.js" working-dir="$PROJECT_DIR$">
<configuration name="jobs-special.js" type="NodeJSConfigurationType" temporary="true" path-to-js-file="jobs-special.js" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
<configuration name="Gulp" type="js.build_tools.gulp" factoryName="Gulp.js">
<configuration name="Gulp" type="js.build_tools.gulp">
<node-interpreter>C:/Program Files/nodejs/node.exe</node-interpreter>
<node-options />
<gulpfile>$PROJECT_DIR$/gulpfile.js</gulpfile>
@ -480,7 +387,7 @@
<envs />
<method v="2" />
</configuration>
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
<configuration default="true" type="js.build_tools.gulp">
<node-interpreter>$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node</node-interpreter>
<node-options />
<gulpfile />
@ -489,7 +396,7 @@
<pass-parent-envs>true</pass-parent-envs>
<method v="2" />
</configuration>
<configuration name="default" type="js.build_tools.gulp" factoryName="Gulp.js" temporary="true">
<configuration name="default" type="js.build_tools.gulp" temporary="true">
<node-interpreter>$USER_HOME$/.nvm/versions/node/v8.1.3/bin/node</node-interpreter>
<node-options />
<gulpfile>$PROJECT_DIR$/gulpfile.js</gulpfile>
@ -500,7 +407,7 @@
<envs />
<method v="2" />
</configuration>
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
<configuration default="true" type="mocha-javascript-test-runner">
<node-interpreter>$USER_HOME$/.nvm/versions/node/v5.7.0/bin/node</node-interpreter>
<node-options />
<working-directory>$PROJECT_DIR$</working-directory>
@ -514,16 +421,16 @@
</configuration>
<list>
<item itemvalue="Gulp.js.Gulp" />
<item itemvalue="Gulp.js.default" />
<item itemvalue="JavaScript Debug.index.html" />
<item itemvalue="Node.js.News" />
<item itemvalue="Node.js.Lifestyle" />
<item itemvalue="Node.js.Pipes server" />
<item itemvalue="Node.js.Tech" />
<item itemvalue="Node.js.Test" />
<item itemvalue="Node.js.fixer.js" />
<item itemvalue="Gulp.js.default" />
<item itemvalue="Node.js.jobs-special.js" />
<item itemvalue="Node.js.gather.js" />
<item itemvalue="JavaScript Debug.index.html" />
</list>
<recent_temporary>
<list>
@ -611,13 +518,10 @@
<workItem from="1533827599998" duration="8501000" />
<workItem from="1537276734750" duration="152000" />
<workItem from="1537352710691" duration="599000" />
</task>
<task id="LOCAL-00089" summary="jobs fix, reverted">
<created>1500379096274</created>
<option name="number" value="00089" />
<option name="presentableId" value="LOCAL-00089" />
<option name="project" value="LOCAL" />
<updated>1500379096274</updated>
<workItem from="1537528243441" duration="633000" />
<workItem from="1537536372384" duration="379000" />
<workItem from="1538737521291" duration="273000" />
<workItem from="1543487387306" duration="579000" />
</task>
<task id="LOCAL-00090" summary="jobs fix, reverted">
<created>1500421369553</created>
@ -955,23 +859,30 @@
<option name="project" value="LOCAL" />
<updated>1533892817668</updated>
</task>
<option name="localTasksCounter" value="138" />
<task id="LOCAL-00138" summary="paused jobs-special for the time being">
<created>1537528273924</created>
<option name="number" value="00138" />
<option name="presentableId" value="LOCAL-00138" />
<option name="project" value="LOCAL" />
<updated>1537528273925</updated>
</task>
<option name="localTasksCounter" value="139" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="151321000" />
<option name="totallyTimeSpent" value="153185000" />
</component>
<component name="ToolWindowManager">
<frame x="-1" y="39" width="2562" height="1402" extended-state="6" />
<frame x="629" y="230" width="1759" height="1105" extended-state="0" />
<editor active="true" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.6797829" visible="true" weight="0.12277228" />
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.6797829" visible="true" weight="0.26983207" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Gulp" order="2" sideWeight="0.3202171" side_tool="true" weight="0.18009207" />
<window_info id="Favorites" order="3" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.3281106" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" weight="0.2494929" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" weight="0.249183" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39940536" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
@ -981,7 +892,7 @@
<window_info anchor="bottom" id="SonarLint" order="9" />
<window_info anchor="bottom" id="Terminal" order="10" sideWeight="0.4838976" weight="0.32838774" />
<window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.36999437" side_tool="true" weight="0.24975222" />
<window_info anchor="bottom" id="Version Control" order="12" sideWeight="0.59560066" visible="true" weight="0.19019443" />
<window_info anchor="bottom" id="Version Control" order="12" sideWeight="0.59560066" weight="0.08251634" />
<window_info anchor="bottom" id="GitLabIntegration" order="13" />
<window_info anchor="bottom" id="Application Servers" order="14" weight="0.32987553" />
<window_info anchor="bottom" id="Messages" order="15" />
@ -1055,6 +966,20 @@
</entry>
</map>
</option>
<option name="RECENT_FILTERS">
<map>
<entry key="Branch">
<value>
<list />
</value>
</entry>
<entry key="User">
<value>
<list />
</value>
</entry>
</map>
</option>
</component>
<component name="Vcs.Log.UiProperties">
<option name="RECENTLY_FILTERED_USER_GROUPS">
@ -1064,13 +989,9 @@
<collection />
</option>
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="VcsManagerConfiguration">
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_NEW_TODO" value="false" />
<MESSAGE value="Max images out at 1140px wide" />
<MESSAGE value="Reduced jpeg image quality to 80%, reduces a lot of bandwidth with not much visible impact." />
<MESSAGE value="page jumps to top on view change" />
<MESSAGE value="update hover colour" />
@ -1095,7 +1016,8 @@
<MESSAGE value="added some new feeds" />
<MESSAGE value="updated feeds" />
<MESSAGE value="tighter jobs-special" />
<option name="LAST_COMMIT_MESSAGE" value="tighter jobs-special" />
<MESSAGE value="paused jobs-special for the time being" />
<option name="LAST_COMMIT_MESSAGE" value="paused jobs-special for the time being" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
@ -1155,13 +1077,6 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/http:%2F%2Ffeeds2.feedburner.com%2Fbusinessinsider.html" />
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="660">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/news.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
@ -1190,13 +1105,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/news.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="170">
<caret line="85" column="27" selection-start-line="85" selection-start-column="27" selection-end-line="85" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/tech.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1410">
@ -1340,13 +1248,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="10" column="3" selection-start-line="4" selection-start-column="13" selection-end-line="10" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_today_only.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
@ -1357,37 +1258,51 @@
<entry file="file://$PROJECT_DIR$/.eslintrc.json">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="10" column="3" selection-start-line="4" selection-start-column="13" selection-end-line="10" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<state relative-caret-position="270">
<caret line="15" column="8" selection-start-line="15" selection-start-column="8" selection-end-line="15" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="110">
<state relative-caret-position="90">
<caret line="5" column="66" selection-start-line="5" selection-start-column="66" selection-end-line="5" selection-end-column="66" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
<state relative-caret-position="72">
<caret line="4" column="77" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="77" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<state relative-caret-position="54">
<caret line="3" column="54" selection-start-line="3" selection-start-column="54" selection-end-line="3" selection-end-column="54" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2178">
<caret line="121" column="19" selection-start-line="121" selection-start-column="19" selection-end-line="121" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<state relative-caret-position="180">
<caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
</state>
</provider>
@ -1401,22 +1316,29 @@
</entry>
<entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<state relative-caret-position="270">
<caret line="15" column="62" selection-end-line="146" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<state relative-caret-position="126">
<caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/gather.js">
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="75" column="7" lean-forward="true" selection-start-line="75" selection-start-column="7" selection-end-line="75" selection-end-column="7" />
<state relative-caret-position="747">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/news.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="212">
<caret line="108" column="19" lean-forward="true" selection-start-line="108" selection-start-column="19" selection-end-line="108" selection-end-column="19" />
</state>
</provider>
</entry>

View File

@ -108,6 +108,37 @@
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Ffivethirtyeight.com%2Fall%2Ffeed"
}
]
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Ffeeds.feedburner.com%2Feuronews%2Fen%2Fhome%2F"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.channel4.com%2Fnews%2Ffeed"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Ftheconversation.com%2Fuk%2Farticles.atom"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.deadlinenews.co.uk%2Ffeed"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.deadlinenews.co.uk%2Ffeed"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.deadlinenews.co.uk%2Ffeed"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fnewsnet.scot%2Ffeed%2F"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fswd.media%2Ffeed%2F"
} ]
}

View File

@ -56,6 +56,24 @@ function gatherV2(feedName, fileName, mode) {
});
}
function gatherV2Email(feedName, fileName, mode) {
return new Promise((resolve, reject) => {
const modeSuffix = { 'rss': '.xml', 'json': '.json' };
logger.info(`Gathering ${feedName} as ${modeSuffix[mode]}...`);
rssBraider.processFeed(feedName, mode, (err, data) => {
if (err) {
logger.error(err);
return reject(err);
}
fsWriteFile(`${__dirname}/dist/${fileName}${modeSuffix[mode]}`, data).then(function () {
return resolve(`${feedName} saved`);
});
});
});
}
function toHour(extra = 0) {
const now = new Date();
@ -126,7 +144,7 @@ async function main() {
}
function test() {
gatherV2('jobsSpecial', 'jobs-special', 'rss').then((d) => {
gatherV2Email('jobsSpecial', 'jobs-special', 'json').then((d) => {
logger.debug(d);
}).catch((e) => {
logger.error(e);
@ -144,9 +162,9 @@ function tick() {
(() => {
logger.info('Gather started...');
timerID = setTimeout(
/* timerID = setTimeout(
() => tick(),
toHour()
);
// test();
);*/
test();
})();

6
node_modules/lodash/README.md generated vendored
View File

@ -1,4 +1,4 @@
# lodash v4.17.10
# lodash v4.17.11
The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
@ -28,12 +28,12 @@ var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');
```
See the [package source](https://github.com/lodash/lodash/tree/4.17.10-npm) for more details.
See the [package source](https://github.com/lodash/lodash/tree/4.17.11-npm) for more details.
**Note:**<br>
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
## Support
Tested in Chrome 63-64, Firefox 57-58, IE 11, Edge 14, Safari 10-11, Node.js 4-9, & PhantomJS 2.1.1.<br>
Tested in Chrome 68-69, Firefox 61-62, IE 11, Edge 17, Safari 10-11, Node.js 6-10, & PhantomJS 2.1.1.<br>
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.

33
node_modules/lodash/package.json generated vendored
View File

@ -1,39 +1,42 @@
{
"_from": "lodash@4.17.10",
"_id": "lodash@4.17.10",
"_from": "lodash@^4.17.10",
"_id": "lodash@4.17.11",
"_inBundle": false,
"_integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
"_integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
"_location": "/lodash",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "lodash@4.17.10",
"raw": "lodash@^4.17.10",
"name": "lodash",
"escapedName": "lodash",
"rawSpec": "4.17.10",
"rawSpec": "^4.17.10",
"saveSpec": null,
"fetchSpec": "4.17.10"
"fetchSpec": "^4.17.10"
},
"_requiredBy": [
"#USER",
"/",
"/babel-traverse",
"/babel-types",
"/@babel/generator",
"/@babel/template",
"/@babel/traverse",
"/@babel/types",
"/async",
"/eslint",
"/eslint-plugin-flowtype",
"/gulp-jshint",
"/gulp-uglify",
"/hipchat-notifier",
"/inquirer",
"/mailgun-js/async",
"/requestretry",
"/rss-braider",
"/table"
],
"_resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
"_shasum": "1b7793cf7259ea38fb3661d4d38b3260af8ae4e7",
"_spec": "lodash@4.17.10",
"_where": "/Users/martin/dev/Rinser",
"_resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"_shasum": "b39ea6229ef607ecd89e2c8df12536891cac9b8d",
"_spec": "lodash@^4.17.10",
"_where": "/home/martin/dev/Rinser",
"author": {
"name": "John-David Dalton",
"email": "john.david.dalton@gmail.com",
@ -74,5 +77,5 @@
"scripts": {
"test": "echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\""
},
"version": "4.17.10"
"version": "4.17.11"
}

6
package-lock.json generated
View File

@ -4712,9 +4712,9 @@
}
},
"lodash": {
"version": "4.17.10",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
"integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg=="
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
},
"lodash._baseassign": {
"version": "3.2.0",

View File

@ -37,7 +37,7 @@
"express-session": "^1.15.6",
"htmlparser": "^1.7.7",
"jsonfile": "^4.0.0",
"lodash": "^4.17.10",
"lodash": "^4.17.11",
"method-override": "^2.3.10",
"morgan": "^1.9.0",
"node-cron": "^1.2.1",