Hey again,

 > I added a rather dirty JavaScript hack to the MatrixMarket. Basically,
> it checks each link of a loaded web page for mat and rb file formats and
> removes them. Only the .mtx file format links are left untouched. That
> way users can't download files other than .mtx. It's not pretty and it's
> a bit slow when modifying large pages such as the one where all matrices
> are listed (2700 of them), but it works. Further optimizations could
> make the dynamic modifications seamless (it's full brute
> force JavaScript at the moment).
>
> Let me know if this way of filtering .mtx files is acceptable, so I can
> work on optimizing the procedure. If not, I'll start making a customized
> matrix market html page.

Is there a way you can just write this modified HTML-page to a file and 
reuse this from now on (eventually stringify it and embed the sources in 
the binary)? This way you immediately have the static webpage and only 
have to load the images as needed. I think this will resolve the problem 
of long page parsing and will continue to work even if the matrix-market 
guys decide to alter their webpage in a nontrivial way.

Best regards,
Karli



------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to