Identify jQuery data
-
Below is code i have got from " this link. can any one tell me.. what link it will generate??"[^]
var from = "2011-10-09";
var to = "2011-11-09";//IG fix for dateformat yyyy-mm-dd, must match before sending.
if (to.match(/^\d{4}[-]\d{2}[-]\d{2}$/) && from.match(/^\d{4}[-]\d{2}[-]\d{2}$/)) {
var query = webCore.createQuery(webCore.marketAction.getDataSeries, {}, {
FromDate: from,
ToDate: to,
Instrument: webCore.getInstrument(),
hi__a: "0,1,2,4,21,8,10,11,12,9",
ext_xslt_lang: currentLanguage,
ext_xslt_options: "," + $("#adjustedId:checked").val() + ",", //$("#unadjustedId:checked").val() + ",",
ext_xslt: "hi_table_shares_adjusted.xsl",
ext_contenttype: "application/ms-excel",
ext_contenttypefilename: "_" +
webCore.getInstrument() + ".xls",
ext_xslt_hiddenattrs: ",ip,iv,",
ext_xslt_tableId: "historicalTable"
}
);$("#excelQuery").val( query );
$("#excelForm").attr( "action", webCore.proxyURL ).submit();i got this code from view source. i think webCore.getInstrument() will return SSE4928 but am not sure whta will be whole query.. so i will get link and i can access data from it.
-
Below is code i have got from " this link. can any one tell me.. what link it will generate??"[^]
var from = "2011-10-09";
var to = "2011-11-09";//IG fix for dateformat yyyy-mm-dd, must match before sending.
if (to.match(/^\d{4}[-]\d{2}[-]\d{2}$/) && from.match(/^\d{4}[-]\d{2}[-]\d{2}$/)) {
var query = webCore.createQuery(webCore.marketAction.getDataSeries, {}, {
FromDate: from,
ToDate: to,
Instrument: webCore.getInstrument(),
hi__a: "0,1,2,4,21,8,10,11,12,9",
ext_xslt_lang: currentLanguage,
ext_xslt_options: "," + $("#adjustedId:checked").val() + ",", //$("#unadjustedId:checked").val() + ",",
ext_xslt: "hi_table_shares_adjusted.xsl",
ext_contenttype: "application/ms-excel",
ext_contenttypefilename: "_" +
webCore.getInstrument() + ".xls",
ext_xslt_hiddenattrs: ",ip,iv,",
ext_xslt_tableId: "historicalTable"
}
);$("#excelQuery").val( query );
$("#excelForm").attr( "action", webCore.proxyURL ).submit();i got this code from view source. i think webCore.getInstrument() will return SSE4928 but am not sure whta will be whole query.. so i will get link and i can access data from it.
I am kind of at a lost here without being to know more about what webCore is. I can speculate that this is a webKit issue but I don't want to make that assumption. from the text of your post...
Mugdha_Aditya wrote:
Below is code i have got from " this link.
can any one tell me.. what link it will generate??"[^]
it looks like you intended to offer a link but maybe deleted it or something?? try posting the information again or if you can debug the call and see what query looks like. since you are assigning it to a text box I have to ask what are you seeing when you run the code?? if nothing then my first assumption is that query is not text but rather maybe an object.
as if the facebook, twitter and message boards weren't enough - blogged
-
I am kind of at a lost here without being to know more about what webCore is. I can speculate that this is a webKit issue but I don't want to make that assumption. from the text of your post...
Mugdha_Aditya wrote:
Below is code i have got from " this link.
can any one tell me.. what link it will generate??"[^]
it looks like you intended to offer a link but maybe deleted it or something?? try posting the information again or if you can debug the call and see what query looks like. since you are assigning it to a text box I have to ask what are you seeing when you run the code?? if nothing then my first assumption is that query is not text but rather maybe an object.
as if the facebook, twitter and message boards weren't enough - blogged
thanks for the reply. :) Website is http://www.nasdaqomxnordic.com/shares/Historical_prices/?Instrument=SSE4928[^] i think Webcore is jQuery File. its not our website.. so i cant debug :(
-
thanks for the reply. :) Website is http://www.nasdaqomxnordic.com/shares/Historical_prices/?Instrument=SSE4928[^] i think Webcore is jQuery File. its not our website.. so i cant debug :(
Mugdha_Aditya wrote:
i think Webcore is jQuery File.
I can tell you that Webcore is not a part of jQuery or the jQuery UI. it might be part of a jQuery plugin but definitely not a part of the core jQuery. I can see in the sight that you gave where they are including webCore and I can see where they are probably calling it with the search button but that doesn't help me with your question. I will help you with your questions but you have to do more of the reverse engineering. just out of curiosity are you trying to reproduce what the sight does or something similar to it?? if so can I recommend that you look at node.js?? they have a great example of scrapping a page that will probably help with what you are trying to do.
as if the facebook, twitter and message boards weren't enough - blogged
-
Mugdha_Aditya wrote:
i think Webcore is jQuery File.
I can tell you that Webcore is not a part of jQuery or the jQuery UI. it might be part of a jQuery plugin but definitely not a part of the core jQuery. I can see in the sight that you gave where they are including webCore and I can see where they are probably calling it with the search button but that doesn't help me with your question. I will help you with your questions but you have to do more of the reverse engineering. just out of curiosity are you trying to reproduce what the sight does or something similar to it?? if so can I recommend that you look at node.js?? they have a great example of scrapping a page that will probably help with what you are trying to do.
as if the facebook, twitter and message boards weren't enough - blogged
No..Not just for curiosity .. I need to collect page data of given page for some use. Please help me.. how can i do that.
-
No..Not just for curiosity .. I need to collect page data of given page for some use. Please help me.. how can i do that.
did you check out node.js[^] like I mentioned? they have some sample code for scraping for a web page. in their example they scrape youtube and present it in a mobile jQuery ui listbox. maybe you can use that code as an idea to do the same thing?? I am sorry but reverse engineering another web page is a bit beyond normal question answering in my opinion.
as if the facebook, twitter and message boards weren't enough - blogged
-
did you check out node.js[^] like I mentioned? they have some sample code for scraping for a web page. in their example they scrape youtube and present it in a mobile jQuery ui listbox. maybe you can use that code as an idea to do the same thing?? I am sorry but reverse engineering another web page is a bit beyond normal question answering in my opinion.
as if the facebook, twitter and message boards weren't enough - blogged
ohk.. thanks. I just want to read the data in my code behind. (asp.net) so i was tring to get website excel link..
-
Below is code i have got from " this link. can any one tell me.. what link it will generate??"[^]
var from = "2011-10-09";
var to = "2011-11-09";//IG fix for dateformat yyyy-mm-dd, must match before sending.
if (to.match(/^\d{4}[-]\d{2}[-]\d{2}$/) && from.match(/^\d{4}[-]\d{2}[-]\d{2}$/)) {
var query = webCore.createQuery(webCore.marketAction.getDataSeries, {}, {
FromDate: from,
ToDate: to,
Instrument: webCore.getInstrument(),
hi__a: "0,1,2,4,21,8,10,11,12,9",
ext_xslt_lang: currentLanguage,
ext_xslt_options: "," + $("#adjustedId:checked").val() + ",", //$("#unadjustedId:checked").val() + ",",
ext_xslt: "hi_table_shares_adjusted.xsl",
ext_contenttype: "application/ms-excel",
ext_contenttypefilename: "_" +
webCore.getInstrument() + ".xls",
ext_xslt_hiddenattrs: ",ip,iv,",
ext_xslt_tableId: "historicalTable"
}
);$("#excelQuery").val( query );
$("#excelForm").attr( "action", webCore.proxyURL ).submit();i got this code from view source. i think webCore.getInstrument() will return SSE4928 but am not sure whta will be whole query.. so i will get link and i can access data from it.
It doesn't return anything. The match is regex for a date 2011 11 19 This is the document path, because it just a file name, it resides in the same folder. So type in the url + filename below and see if it exist, your browser will display the xsl data. ext_xslt: "hi_table_shares_adjusted.xsl", Would it not be easier to just pay for a subscription to the data, it may only be $50 USD a month, and they will give you an api to fetch the information, and a username and password.
-
No..Not just for curiosity .. I need to collect page data of given page for some use. Please help me.. how can i do that.