Data sharing between 2 websites
Autor: Organizer TBG
Visitado 2069,
Followers 3,
Compartido 0
I have 2 versions of a website, English and Chinese. They were developed and maintained separately, though both using Website X5 Evolution 11. However, there are common data between them, such as access control information, and podcast audio files which I have many. Is it possible to have these files put in one place sharable by the two websites? If so, we can reduce upload data, reduce online storage space requirement, and reduce the amount of on-going website maintenance work. I will be grateful if you can tell me if this is possible. Thank you.
Publicado en
Hello Ka Fung
This is an interesting issue.
1 - About the podcast audio files - it is possible. You can share audio-files and images and so - as long as you do NOT upload them from "local file". You have to "manually" upload the files ( only once ) via FTP and then reference to them via URL's.
( well - in fact you can reuse an image uploaded as "local file" but then you have to "find" the image on the server- this method is not recommended)
Doing it this way ( FTP upload ) , you will only have the files in one occurence. If it is images then REMEMBER to resize them and compress them so they are web-suitable.
2 - About the access control - In V11 it is not possible to "share" access information.
In V14 ( and v13 ) it should be possible. You could then use "Automatic registration" and then use the same database and table.
Then you should be able to use the "update button ( access management ) to download the list of users who have registered on the internet. This should keep your users "the same" in both versions.
Number 2. I am not sure of. I hope INCOMEDIA can tell if it is a possible solution, or where the catch is in this.
It also depends on how/where your two websites resides ( on the same server / domain / database )
Kind regards
John S.
Alternative method.
You could use a system like ADMIDIO. This is a member system that can handle members ( access control on different levels ) and downloading of files according to your user-credentials.
You can see an example here : http://c4dshow.com/audio.html
If you on the left-menu choose "Electronics" then you will see a free-item that is free to download. Else - For downloading you have to be a member / sign in.
I have made an enhancement to the download routine, so I check the download amount (MB ) and number of downloads for a period, and then - if a user reaches the allowed amount or number of downloads for the lat xx days, then downloading is not granted..
Doing it this way, the users and the data is in the admidio-system and is integrated via iframes. This way, the same information could be used in many sites ( French, Chimese, English and Danish ) but it is the same information and all the files and users are only once on the server. In fact I could use the data to be shown on another server - it is the same, as when you show a page from another server in an iframe on your own site.
The ADMIDIO ( https://www.admidio.org/ ) system is a very secure and user-friendly system.
You then have your language sites made in X5 ( using ADMIDIO you could use your ver 11 ) and the file and user management you ghave in ADMIDIO and then you show it in X5 via iframes - just as I have done it in the example.
Kind regards
John S.
Hello Ka Fung,
Unfortunately it will be not possible to share the access control information in case of automatic registration, which is only available in the Professional Edition, between two projects since ther URL would not be the same and it can only be downloaded in one project to manage it.
Many thanks!
Autor
Hi John,
I followed your advice, uploaded my podcast file by ftp, then used its url link to play the podcast from my webpage. It worked well. This way not only allowed me to share my podcast files between the English and Chinese websites, speeded up my website upload. It also has an expected advantage that I can now directly use mp3 files in my website. Previously, I had to convert all mp3 to mp4 manually because Website Evolution X5 v11 does not support mp3. It only supports mp4. And each mp4 file is twice the size of mp3!
Thank you very much for your help.
Ka Fung
Autor
Hi Claudia,
I register members manually under Website Evolution X5 v11. Both my English and Chinese websites are hosted on the same server, with the English website under root, and the Chinese under /Chinese. If the member registration data is saved in a specific file say xyz in the English website, I wonder if it possible to manually copy the file to my Chinese website? This will save me having to do registration twice manually, as well as introducing human errors unnecessarily.
Thank you.
Ka Fung
Hello Ka Fung,
The only option would be to make the accounts manually on the other project since there is no way to copy them automatically from one project to the other.
Many thanks!