Skip to content

Commit 8f0047f

Browse files
committed
Changed url for Ariva historic events #2
1 parent 9c7aede commit 8f0047f

3 files changed

Lines changed: 19 additions & 10 deletions

File tree

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,15 @@
2020
<nature>org.eclipse.jdt.core.javanature</nature>
2121
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
2222
</natures>
23+
<filteredResources>
24+
<filter>
25+
<id>1631144860308</id>
26+
<name></name>
27+
<type>30</type>
28+
<matcher>
29+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
30+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31+
</matcher>
32+
</filter>
33+
</filteredResources>
2334
</projectDescription>

docs/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Verfügbare Plugins / Available plugins
22

3-
For website ariva.de: [Download](https://raw.githubusercontent.com/faiteanu/JavaStockQuotes/master/js/ariva.js) (updated 26.04.2021)
3+
For website ariva.de: [Download](https://raw.githubusercontent.com/faiteanu/JavaStockQuotes/master/js/ariva.js) (updated 18.09.2022)
44

55
# Installation to Hibiscus Depot-Viewer
66

7-
Save file [ariva.js](https://raw.githubusercontent.com/faiteanu/JavaStockQuotes/master/js/ariva.js) in folder C:\Users\USERNAME\ .jameica\hibiscus.depotviewer\js and restart Jameica.
7+
Save file [ariva.js](https://raw.githubusercontent.com/faiteanu/JavaStockQuotes/master/js/ariva.js) in folder
8+
`C:\Users\{USERNAME}\.jameica\hibiscus.depotviewer\js` and restart Jameica.

js/ariva.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Script for Hibiscus Depot Viewer
2-
// Updated 02.04.2020 by @faiteanu
2+
// Updated 18.09.2022 by @faiteanu
33
// Original version by @mikekorb
44

55
try {
@@ -24,7 +24,7 @@ function getAPIVersion() {
2424
};
2525

2626
function getVersion() {
27-
return "2021-04-26";
27+
return "2022-09-18";
2828
};
2929

3030
function getName() {
@@ -165,12 +165,9 @@ function extractEvents(page, handelsplatz) {
165165
dict["Reverse Split"] = Packages.jsq.datastructes.Const.STOCKREVERSESPLIT;
166166
dict["Bezugsrecht"] = Packages.jsq.datastructes.Const.SUBSCRIPTIONRIGHTS;
167167

168-
if(kursUrl.indexOf("secu=") > 0){
169-
// fonds use a different URL from shares
170-
eventUrl = getURL() + "/quote/kapitalmassnahmen.m?clean_split=0&" + kursUrl.substring(kursUrl.indexOf("secu="));
171-
}else{
172-
eventUrl = url + "/historische_ereignisse?clean_split=0";
173-
}
168+
169+
eventUrl = url + "/dividende-split/?clean_split=0";
170+
174171
print(eventUrl);
175172
page = webClient.getPage(eventUrl);
176173
tab = Packages.jsq.tools.HtmlUnitTools.getElementByPartContent(page, "Datum", "table");

0 commit comments

Comments
 (0)