Skip to content

Commit

Permalink
Update job_fiat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
oraghalb committed Jan 5, 2024
1 parent f18f942 commit 9222c26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/job_fiat.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
where con.CategoryNickname='fiatga.concept'
and (usr.ID is not null or com.ID is null)
and exists (select * from tblIndex as i where i.EntryID=con.ID and i.Path='concept/note' and i.Attribute='type' and i.ValueNumber in (4156812, 4156811))
and con.XmlContent.exist('/concept/note[(@type="4156812" or @type="4156811") and @dateTime>="2023-05-01" and @dateTime<"2023-06-01"]')=1
and con.XmlContent.exist('/concept/note[(@type="4156812" or @type="4156811") and @dateTime>="2023-06-01" and @dateTime<"2023-10-01"]')=1
order by con.ID desc, com.ID desc, usr.ID desc
2. Cópeáil agus greamaigh an t-inneachar go comhad fiat.txt san fhilleán seo (= an fillteán céanna ina bhfuil an comhad seo, job_fiat.js)
Expand All @@ -20,7 +20,7 @@
node job_fiat.js
*/

const BNT_EXTRANET_ID="4642102"; //an eislíon in BNT (Terminologue) air ar cheart na hiontrálacha a chur, mar shampla "Liosta IATE, Samhain 2023"
const BNT_EXTRANET_ID="4642106"; //an eislíon in BNT (Terminologue) air ar cheart na hiontrálacha a chur, mar shampla "Liosta IATE, Eanáir 2024"
const BNT_SOURCE_ID="4424027"; //foinse in BNT (Terminologue) atá le lua le samplaí úsáide a chruthófar as an sonra 'context', mar shampla "Reachtaíocht an AE"
const HISTORIOGRAPHY={"diff":[{"desc":"iompórtáil as Fiat"}]};
const HISTORY_EMAIL="brian.oraghallaigh@dcu.ie";
Expand All @@ -31,7 +31,7 @@ const domParser=new xmldom.DOMParser();
//starts here
var concepts={}; //conceptID --> {}
var lineReader=require('readline').createInterface({
input: require('fs').createReadStream('./23.10.27-fiat.txt')
input: require('fs').createReadStream('./23.12.20-fiat.txt')
});
lineReader.on('line', function(line) {
var columns=line.split("\t");
Expand Down

0 comments on commit 9222c26

Please sign in to comment.