tighter jobs-special

This commit is contained in:
Martin Donnelly 2018-08-10 10:11:24 +01:00
parent 6790dbc7a5
commit 447d6aa3d8
2 changed files with 150 additions and 56 deletions

View File

@ -3,7 +3,7 @@
<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 beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugins/filter_reject.js" beforeDir="false" afterPath="$PROJECT_DIR$/plugins/filter_reject.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/test.js" beforeDir="false" afterPath="$PROJECT_DIR$/test.js" afterDir="false" />
</list> </list>
<ignored path="rinser.iws" /> <ignored path="rinser.iws" />
<ignored path=".idea/workspace.xml" /> <ignored path=".idea/workspace.xml" />
@ -28,8 +28,8 @@
<file leaf-file-name="jobs-special.json" pinned="false" current-in-tab="false"> <file leaf-file-name="jobs-special.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json"> <entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240"> <state relative-caret-position="150">
<caret line="16" column="13" lean-forward="true" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" /> <caret line="10" column="3" lean-forward="true" selection-start-line="4" selection-start-column="13" selection-end-line="10" selection-end-column="3" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -52,11 +52,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="filter_reject.js" pinned="false" current-in-tab="true"> <file leaf-file-name="filter_reject.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15"> <state relative-caret-position="75">
<caret line="1" column="32" selection-start-line="1" selection-start-column="32" selection-end-line="1" selection-end-column="32" /> <caret line="5" column="66" lean-forward="true" selection-start-line="5" selection-start-column="66" selection-end-line="5" selection-end-column="66" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -79,11 +79,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="test.js" pinned="false" current-in-tab="false"> <file leaf-file-name="test.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/test.js"> <entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255"> <state relative-caret-position="300">
<caret line="17" column="18" selection-start-line="17" selection-start-column="18" selection-end-line="17" selection-end-column="18" /> <caret line="20" column="21" lean-forward="true" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -109,8 +109,8 @@
<file leaf-file-name="filter_md_jobs.js" pinned="false" current-in-tab="false"> <file leaf-file-name="filter_md_jobs.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75"> <state relative-caret-position="15">
<caret line="5" column="75" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" /> <caret line="1" column="163" lean-forward="true" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="163" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -224,12 +224,12 @@
<option value="$PROJECT_DIR$/gather.js" /> <option value="$PROJECT_DIR$/gather.js" />
<option value="$PROJECT_DIR$/v2.gulpfile.js" /> <option value="$PROJECT_DIR$/v2.gulpfile.js" />
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" /> <option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
<option value="$PROJECT_DIR$/test.js" />
<option value="$PROJECT_DIR$/plugins/filter_show.js" /> <option value="$PROJECT_DIR$/plugins/filter_show.js" />
<option value="$PROJECT_DIR$/plugins/filter_location.js" /> <option value="$PROJECT_DIR$/plugins/filter_location.js" />
<option value="$PROJECT_DIR$/feeds/jobs-special.json" /> <option value="$PROJECT_DIR$/feeds/jobs-special.json" />
<option value="$PROJECT_DIR$/plugins/filter_today_only.js" /> <option value="$PROJECT_DIR$/plugins/filter_today_only.js" />
<option value="$PROJECT_DIR$/plugins/filter_reject.js" /> <option value="$PROJECT_DIR$/plugins/filter_reject.js" />
<option value="$PROJECT_DIR$/test.js" />
</list> </list>
</option> </option>
</component> </component>
@ -605,21 +605,7 @@
<workItem from="1530391391023" duration="153000" /> <workItem from="1530391391023" duration="153000" />
<workItem from="1530557207480" duration="1187000" /> <workItem from="1530557207480" duration="1187000" />
<workItem from="1531587000308" duration="70000" /> <workItem from="1531587000308" duration="70000" />
<workItem from="1533827599998" duration="6821000" /> <workItem from="1533827599998" duration="7812000" />
</task>
<task id="LOCAL-00083" summary="jobs fix, reverted">
<created>1500378479416</created>
<option name="number" value="00083" />
<option name="presentableId" value="LOCAL-00083" />
<option name="project" value="LOCAL" />
<updated>1500378479416</updated>
</task>
<task id="LOCAL-00084" summary="jobs fix, reverted">
<created>1500378543276</created>
<option name="number" value="00084" />
<option name="presentableId" value="LOCAL-00084" />
<option name="project" value="LOCAL" />
<updated>1500378543276</updated>
</task> </task>
<task id="LOCAL-00085" summary="jobs fix, reverted"> <task id="LOCAL-00085" summary="jobs fix, reverted">
<created>1500378657900</created> <created>1500378657900</created>
@ -950,11 +936,25 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1533838106905</updated> <updated>1533838106905</updated>
</task> </task>
<option name="localTasksCounter" value="132" /> <task id="LOCAL-00132" summary="tighter jobs-special">
<created>1533844064626</created>
<option name="number" value="00132" />
<option name="presentableId" value="LOCAL-00132" />
<option name="project" value="LOCAL" />
<updated>1533844064626</updated>
</task>
<task id="LOCAL-00133" summary="tighter jobs-special">
<created>1533844303336</created>
<option name="number" value="00133" />
<option name="presentableId" value="LOCAL-00133" />
<option name="project" value="LOCAL" />
<updated>1533844303336</updated>
</task>
<option name="localTasksCounter" value="134" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="148890000" /> <option name="totallyTimeSpent" value="149881000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="17" y="22" width="1759" height="1106" extended-state="0" /> <frame x="17" y="22" width="1759" height="1106" extended-state="0" />
@ -1394,13 +1394,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="75" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
</state>
</provider>
</entry>
<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> <state>
@ -1415,13 +1408,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="17" column="18" selection-start-line="17" selection-start-column="18" selection-end-line="17" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90"> <state relative-caret-position="90">
@ -1429,13 +1415,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="16" column="13" lean-forward="true" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225"> <state relative-caret-position="225">
@ -1458,9 +1437,30 @@
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="66" lean-forward="true" 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_md_jobs.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15"> <state relative-caret-position="15">
<caret line="1" column="32" selection-start-line="1" selection-start-column="32" selection-end-line="1" selection-end-column="32" /> <caret line="1" column="163" lean-forward="true" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="163" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="10" column="3" lean-forward="true" selection-start-line="4" selection-start-column="13" selection-end-line="10" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="20" column="21" lean-forward="true" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
</state> </state>
</provider> </provider>
</entry> </entry>

104
test.js
View File

@ -19,17 +19,111 @@ feeds.simple_test_feed = {
'filter_location', 'filter_location',
'filter_reject', 'filter_reject',
'filter_md_jobs', 'filter_md_jobs',
'filter_last_week' 'filter_today_only'
], ],
'meta': { 'meta': {
'title': 'Jobs', 'title': 'Jobs',
'description': 'Combined Jobs Feed', 'description': 'Combined Jobs Feed',
'site_url': 'http://pipes.silvrtree.co.uk/jobs-local.xml' 'site_url': 'http://pipes.silvrtree.co.uk/jobs-local.xml'
}, },
'sources': [{ 'sources': [
'count': 100, {
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FBAEBF3BDF82B8FEF.rss' 'count': 100,
}] 'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FBAEBF3BDF82B8FEF.rss'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F9BCBF25C586A0E3F.rss'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2FF3A56475D5FD4966.rss'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.jobserve.com%2FMySearch%2F4E2AC50E02AD128B.rss'
},
{
'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/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/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/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'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.cwjobs.co.uk%2FJobSearch%2FRSS.aspx%3FKeywords%3Dhtml%2Ces6'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.cwjobs.co.uk%2FJobSearch%2FRSS.aspx%3FKeywords%3Dnodejs'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.cwjobs.co.uk%2FJobSearch%2FRSS.aspx%3FKeywords%3Dbackbone'
},
{
'count': 100,
'feed_url': 'http://45.33.114.116:8080/https%3A%2F%2Fwww.cwjobs.co.uk%2FJobSearch%2FRSS.aspx%3FKeywords%3Diot'
}
]
}; };
var braider_options = { var braider_options = {