Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

CSV file from external URL
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: CSV file from external URL
#27570
CSV file from external URL 12 Years, 7 Months ago Karma: 0
Does ARI Data Tables component support CSV file from external URL?
I want to link CSV data to my site from another website, but it's not shown any data.
If I put same file to my server, then it's working. Do I do something wrong or it just doesn't work this way?

Thank you,
The administrator has disabled public write access.
 
#27579
Re:CSV file from external URL 12 Years, 7 Months ago Karma: 760
Hello,

"ARI Data Tables" can load external CSV files if they have public access and CURL PHP extension is installed or PHP is configured to provide access to external files through "fopen" function or through sockets.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27629
Re:CSV file from external URL 12 Years, 7 Months ago Karma: 0
php-curl is installed and enabled. Also there is no firewall problems but it's just doesn't work.

It works this way:
{aricsvtable file="/arvud.csv"}
{aricsvtablecolumns}
{aricsvtablecolumn id="ID" alias="ID" width="20%" headerClassName="head"}
{aricsvtablecolumn id="Esimene" alias="Esimene" headerClassName="head"}
{aricsvtablecolumn id="Teine" alias="Teine" headerClassName="head"}
{aricsvtablecolumn id="Kolmas" alias="Kolmas" headerClassName="head"}
{/aricsvtablecolumn}
{/aricsvtablecolumns}
{aricsvtablecolumnspan row="1,2,3" startIndex="0" endIndex="3"}
{/aricsvtable}

But it doesn't work this way (the URL is pointed same on file in same server, it's not even external URL)
{aricsvtable file="gn186.zone.eu/arvud.csv"}
{aricsvtablecolumns}
{aricsvtablecolumn id="ID" alias="ID" width="20%" headerClassName="head"}
{aricsvtablecolumn id="Esimene" alias="Esimene" headerClassName="head"}
{aricsvtablecolumn id="Teine" alias="Teine" headerClassName="head"}
{aricsvtablecolumn id="Kolmas" alias="Kolmas" headerClassName="head"}
{/aricsvtablecolumn}
{/aricsvtablecolumns}
{aricsvtablecolumnspan row="1,2,3" startIndex="0" endIndex="3"}
{/aricsvtable}

Thank you
The administrator has disabled public write access.
 
#27631
Re:CSV file from external URL 12 Years, 7 Months ago Karma: 760
This code for "ARI JDataTable" plugin from "ARI Smart Content" extension, not for "ARI Data Tables" extension. "ARI JDataTable" plugin doesn't work with external files.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27633
Re:CSV file from external URL 12 Years, 7 Months ago Karma: 0
Thank you for helping me, but what is the name of plugin that allows CSV from external URL.
I also tested plugin ARI JCSV 2 Table with following code:

{arijcsv2table url="arvud.csv" select="1,2,3"}
and
{arijcsv2table url="gn186.zone.eu/arvud.csv" select="1,2,3"}

but those doesn't work either.
The administrator has disabled public write access.
 
#27634
Re:CSV file from external URL 12 Years, 7 Months ago Karma: 760
"ARI Smart Content" doesn't contain a plugin which can work with external CSV files. "ARI Smart Content" and "ARI Data Tables" are two different extensions.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12