added bored

This commit is contained in:
Martin Donnelly 2018-06-19 00:10:50 +01:00
parent 04425993f2
commit 42d41fb0b7
4 changed files with 257 additions and 156 deletions

View File

@ -2,7 +2,9 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/feeds/jobs-special.json.old" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/feeds/jobs-special.json" beforeDir="false" afterPath="$PROJECT_DIR$/feeds/jobs-special.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gather.js" beforeDir="false" afterPath="$PROJECT_DIR$/gather.js" afterDir="false" />
</list>
<ignored path="rinser.iws" />
@ -25,38 +27,20 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="jobs-local.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/jobs-local.js">
<file leaf-file-name="jobs-special.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1380">
<caret line="92" column="2" selection-start-line="12" selection-start-column="25" selection-end-line="92" selection-end-column="2" />
<state relative-caret-position="305">
<caret line="80" column="6" selection-start-line="80" selection-start-column="6" selection-end-line="80" selection-end-column="6" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="jobs-local.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/jobs-local.json">
<file leaf-file-name="jobs-special.json.old" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json.old">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="24" selection-start-line="3" selection-start-column="24" selection-end-line="3" selection-end-column="24" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="paleo.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/paleo.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="525">
<caret line="35" column="6" selection-start-line="35" selection-start-column="6" selection-end-line="35" selection-end-column="6" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="tech.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/tech.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1410">
<caret line="94" column="1" selection-start-line="16" selection-start-column="25" selection-end-line="94" selection-end-column="1" />
<state relative-caret-position="511">
<caret line="42" column="148" selection-start-line="42" selection-start-column="45" selection-end-line="42" selection-end-column="148" />
</state>
</provider>
</entry>
@ -73,8 +57,26 @@
<file leaf-file-name="gather.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="669">
<caret line="124" column="7" selection-start-line="124" selection-start-column="7" selection-end-line="124" selection-end-column="7" />
<state relative-caret-position="604">
<caret line="172" column="3" selection-start-line="172" selection-start-column="3" selection-end-line="172" selection-end-column="3" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="index.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/index.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="25" selection-start-line="5" selection-start-column="25" selection-end-line="5" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="RssBraider.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-611">
<caret line="11" column="4" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="4" />
</state>
</provider>
</entry>
@ -83,7 +85,7 @@
<entry file="file://$PROJECT_DIR$/bored.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="30" column="1" lean-forward="true" selection-start-line="13" selection-start-column="25" selection-end-line="30" selection-end-column="1" />
<caret line="30" column="1" selection-start-line="13" selection-start-column="25" selection-end-line="30" selection-end-column="1" />
</state>
</provider>
</entry>
@ -92,7 +94,7 @@
<entry file="file://$PROJECT_DIR$/feeds/bored.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="360">
<caret line="24" lean-forward="true" selection-start-line="24" selection-end-line="24" />
<caret line="24" selection-start-line="24" selection-end-line="24" />
</state>
</provider>
</entry>
@ -127,7 +129,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>logg</find>
<find>6DA9769BA89834AA</find>
<find>es6</find>
<find>nodejs</find>
@ -156,6 +157,8 @@
<find>&quot;feed_url&quot;: &quot;</find>
<find>daimanuel</find>
<find>plan</find>
<find>/http%3A%2F%2Fwww.jobsite</find>
<find>jobsite</find>
</findStrings>
<replaceStrings>
<replace />
@ -164,6 +167,7 @@
<replace>http</replace>
<replace>https%3A%2F%2Fwww.technojobs</replace>
<replace>&quot;feed_url&quot;: &quot;http://45.33.114.116:8080/</replace>
<replace>/https%3A%2F%2Fwww.jobsite</replace>
</replaceStrings>
<dirStrings>
<dir>C:\dev\md\Rinser</dir>
@ -219,13 +223,13 @@
<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/jobs-special.json" />
<option value="$PROJECT_DIR$/feeds/lifestyle.json" />
<option value="$PROJECT_DIR$/feeds/paleo.json" />
<option value="$PROJECT_DIR$/feeds/jobs-local.json" />
<option value="$PROJECT_DIR$/feeds/fit.json" />
<option value="$PROJECT_DIR$/feeds/tech.json" />
<option value="$PROJECT_DIR$/feeds/bored.json" />
<option value="$PROJECT_DIR$/feeds/jobs-special.json" />
<option value="$PROJECT_DIR$/gather.js" />
</list>
</option>
@ -278,8 +282,8 @@
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="244" />
<option name="y" value="23" />
<option name="x" value="123" />
<option name="y" value="24" />
<option name="width" value="1794" />
<option name="height" value="1129" />
</component>
@ -354,6 +358,10 @@
<property name="settings.editor.selected.configurable" value="settings.nodejs" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\mddev\Rinser\dist" />
<recent name="C:\mddev\Rinser\html" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/feeds" />
<recent name="C:\dev\md\Rinser" />
@ -361,10 +369,6 @@
<recent name="$PROJECT_DIR$/dist" />
<recent name="$PROJECT_DIR$/html/icons" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\mddev\Rinser\dist" />
<recent name="C:\mddev\Rinser\html" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
@ -558,21 +562,7 @@
<workItem from="1519424858361" duration="20000" />
<workItem from="1520180489311" duration="993000" />
<workItem from="1528921135827" duration="17718000" />
<workItem from="1529358967248" duration="931000" />
</task>
<task id="LOCAL-00065" summary="fixed plugins">
<created>1471525888930</created>
<option name="number" value="00065" />
<option name="presentableId" value="LOCAL-00065" />
<option name="project" value="LOCAL" />
<updated>1471525888930</updated>
</task>
<task id="LOCAL-00066" summary="fixed plugins">
<created>1471862498314</created>
<option name="number" value="00066" />
<option name="presentableId" value="LOCAL-00066" />
<option name="project" value="LOCAL" />
<updated>1471862498315</updated>
<workItem from="1529358967248" duration="4381000" />
</task>
<task id="LOCAL-00067" summary="fixed plugins">
<created>1471862770498</created>
@ -903,23 +893,37 @@
<option name="project" value="LOCAL" />
<updated>1529359514727</updated>
</task>
<option name="localTasksCounter" value="114" />
<task id="LOCAL-00114" summary="added bored">
<created>1529360009350</created>
<option name="number" value="00114" />
<option name="presentableId" value="LOCAL-00114" />
<option name="project" value="LOCAL" />
<updated>1529360009350</updated>
</task>
<task id="LOCAL-00115" summary="added bored">
<created>1529361026285</created>
<option name="number" value="00115" />
<option name="presentableId" value="LOCAL-00115" />
<option name="project" value="LOCAL" />
<updated>1529361026285</updated>
</task>
<option name="localTasksCounter" value="116" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="128852000" />
<option name="totallyTimeSpent" value="132302000" />
</component>
<component name="ToolWindowManager">
<frame x="244" y="23" width="1794" height="1129" extended-state="0" />
<frame x="123" y="24" width="1794" height="1129" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Gulp" order="2" sideWeight="0.40530303" side_tool="true" visible="true" weight="0.13367175" />
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.594697" visible="true" weight="0.13367175" />
<window_info id="Gulp" order="2" sideWeight="0.40554821" side_tool="true" visible="true" weight="0.13367175" />
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.5944518" visible="true" weight="0.13367175" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" />
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.36999437" side_tool="true" weight="0.24975222" />
<window_info active="true" anchor="bottom" id="Version Control" order="7" sideWeight="0.59560066" visible="true" weight="0.21506442" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" weight="0.24975222" />
<window_info anchor="bottom" id="Version Control" order="7" sideWeight="0.59560066" weight="0.21506442" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" visible="true" weight="0.24975222" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.4838976" weight="0.32838774" />
<window_info id="Favorites" order="2" side_tool="true" />
@ -1060,7 +1064,7 @@
</line-breakpoint>
<line-breakpoint enabled="true" type="javascript">
<url>file://$PROJECT_DIR$/gather.js</url>
<line>47</line>
<line>70</line>
<option name="timeStamp" value="10" />
</line-breakpoint>
</breakpoints>
@ -1075,20 +1079,6 @@
</option>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/feeds/paleo.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="525">
<caret line="35" column="6" selection-start-line="35" selection-start-column="6" selection-end-line="35" selection-end-column="6" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/tech.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1410">
<caret line="94" column="1" selection-start-line="16" selection-start-column="25" selection-end-line="94" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/tech.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="690">
@ -1117,13 +1107,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="187">
<caret line="11" column="4" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
@ -1315,13 +1298,6 @@
<entry file="file://$PROJECT_DIR$/dist/index.html">
<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="1290">
<caret line="86" column="45" selection-start-line="86" selection-start-column="19" selection-end-line="86" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/tech.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1410">
@ -1374,21 +1350,49 @@
<entry file="file://$PROJECT_DIR$/bored.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="30" column="1" lean-forward="true" selection-start-line="13" selection-start-column="25" selection-end-line="30" selection-end-column="1" />
<caret line="30" column="1" selection-start-line="13" selection-start-column="25" selection-end-line="30" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/bored.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="360">
<caret line="24" lean-forward="true" selection-start-line="24" selection-end-line="24" />
<caret line="24" selection-start-line="24" selection-end-line="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/index.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="25" selection-start-line="5" selection-start-column="25" selection-end-line="5" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-611">
<caret line="11" column="4" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="305">
<caret line="80" column="6" selection-start-line="80" selection-start-column="6" selection-end-line="80" selection-end-column="6" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json.old">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="511">
<caret line="42" column="148" selection-start-line="42" selection-start-column="45" selection-end-line="42" selection-end-column="148" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="669">
<caret line="124" column="7" selection-start-line="124" selection-start-column="7" selection-end-line="124" selection-end-column="7" />
<state relative-caret-position="604">
<caret line="172" column="3" selection-start-line="172" selection-start-column="3" selection-end-line="172" selection-end-column="3" />
</state>
</provider>
</entry>

View File

@ -14,10 +14,7 @@
"site_url": "http://pipes.silvrtree.co.uk/jobs-special.xml"
},
"sources": [
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D47820652"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F6DA9769BA89834AA.rss"
@ -38,26 +35,6 @@
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F64A3EEF615FA4C.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21564698"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21564712"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21942123"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D33166238"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D34888173"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fm7dp711z2r.xml"
@ -102,26 +79,6 @@
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F6FC7E9ED5F042ECB.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2C%2520asp%2C%2520web%2C%2520sql%2C%2520delphi%2C%2520vb%2C%2520vbscript%2C%2520php%2C%2520ajax%2C%2520mysql%2C%2520sqlserver%2C%2520javascript%2C%2520intranet%2C%2520vmware%2C%2520virtulization%26location_include%3DAbu%2520Dhabi%26compare_resolved%3DRE_ABUDHABI_UNITEDARABEMIRATES%26compare_search%3DAbu%2520Dhabi%26jobtype%3DX%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DLondon%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DCO_LONDON%26compare_search%3DLondon%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DGlasgow%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DTO_G1_GLASGOW%26compare_search%3DGlasgow%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DGermany%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DCY_GERMANY%26compare_search%3DGermany%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fb1d7e6c3a9a11964z3r.xml"

142
feeds/jobs-special.json.old Normal file
View File

@ -0,0 +1,142 @@
{
"feed_name": "feed",
"default_count": 1,
"no_cdata_fields": [],
"plugins": [
"filter_location",
"filter_reject",
"filter_md_jobs",
"filter_today_only"
],
"meta": {
"title": "Jobs",
"description": "Combined Jobs Feed",
"site_url": "http://pipes.silvrtree.co.uk/jobs-special.xml"
},
"sources": [
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D47820652"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F6DA9769BA89834AA.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FEDF47BEA6B31EF.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F3CAD044BEF2BFA.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FC7B25D86D0844A.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F64A3EEF615FA4C.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21564698"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21564712"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D21942123"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D33166238"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D34888173"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fm7dp711z2r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fpfvf7o7z2r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Flluqnt8z2r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Ftu33qt8z2r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fu3btnz8z2r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.purelyit.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D33256062"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.purelyit.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D33450169"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.purelyit.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D34517029"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.purelyit.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26daysback%3D1%26jbe_id%3D34888105"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.technojobs.co.uk%2Frss.php%2Fglasgow%2Fsearchtypeand%2FlocationScotland%2Fsortbyrelevant%2Fjobtypeall"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F6FC7E9ED5F042ECB.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2C%2520asp%2C%2520web%2C%2520sql%2C%2520delphi%2C%2520vb%2C%2520vbscript%2C%2520php%2C%2520ajax%2C%2520mysql%2C%2520sqlserver%2C%2520javascript%2C%2520intranet%2C%2520vmware%2C%2520virtulization%26location_include%3DAbu%2520Dhabi%26compare_resolved%3DRE_ABUDHABI_UNITEDARABEMIRATES%26compare_search%3DAbu%2520Dhabi%26jobtype%3DX%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DLondon%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DCO_LONDON%26compare_search%3DLondon%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DGlasgow%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DTO_G1_GLASGOW%26compare_search%3DGlasgow%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobsite.co.uk%2Fcgi-bin%2Fadvsearch%3Frss_feed%3D1%26skill_atleast%3Dhtml%2520%2C%2520asp%2520%2C%2520web%2520%2C%2520sql%2520%2C%2520delphi%2520%2C%2520vb%2520%2C%2520vbscript%2520%2C%2520php%2520%2C%2520ajax%2520%2C%2520mysql%2520%2C%2520sqlserver%2520%2C%2520javascript%2520%2C%2520intranet%2520%2C%2520vmware%2520%2C%2520virtulization%26location_include%3DGermany%26location_within%3D10%26reqd_salary%3DANY%7C%26daysback%3D7%26scc%3DUK%26compare_resolved%3DCY_GERMANY%26compare_search%3DGermany%26search_emp_mkt_cd%3DALL"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fb1d7e6c3a9a11964z3r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FCA49421A86CA3F74.rss"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2Fddeded091b6f6d33z3r.xml"
},
{
"count": 100,
"feed_url": "http://45.33.114.116:8080/http%3A%2F%2Fwww.s1jobs.com%2Fxml%2F3eafc1ea20f1ca02z3r.xml"
}
]
}

View File

@ -6,6 +6,9 @@ const read = require('fs').readFileSync;
const join = require('path').join;
const cron = require('node-cron');
const util = require('util')
const fs_writeFile = util.promisify(fs.writeFile)
const str = read(
join(__dirname, '/templates/rss.ejs'),
'utf8');
@ -43,26 +46,21 @@ const rss_braider = RssBraider.createClient(braider_options);
//rss_braider.logger.level('off');
function gatherV2(feedName, fileName, mode) {
const modeSuffix = {'rss': '.xml', 'json': '.json'};
return new Promise((resolve, reject) => {
logger.info(`Gathering ${feedName}...`);
rss_braider.processFeed(feedName, mode, function (err, data) {
if (err) {
logger.error(err);
return reject(err);
}
const modeSuffix = {'rss': '.xml', 'json': '.json'};
logger.info(`Gathering ${feedName} as ${modeSuffix[mode]}...`);
rss_braider.processFeed(feedName, mode, (err, data) => {
if (err) {
logger.error(err);
return reject(err);
}
fs.writeFile(`${__dirname}/dist/${fileName}${modeSuffix[mode]}`,
data,
function (err) {
if (err) {
logger.error(err);
return reject(err);
}
fs_writeFile(`${__dirname}/dist/${fileName}${modeSuffix[mode]}`, data).then(function(){
return resolve(`${feedName} saved`);
});
});
return resolve(`${feedName} saved`);
});
});
});
}
@ -129,7 +127,7 @@ async function gatherXML(feedName, fileName) {
async function main() {
await gatherV2('jobsSpecial', 'jobs-special', 'rss').then((d) => {
logger.info(d);
logger.debug(d);
}).catch((e) => {
logger.error(e);
});
@ -172,4 +170,4 @@ cron.schedule('3 * * * *', function () {
return -1;
});
main();
// main();