JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09.02.2018, 18:04
.com
Guest
 
Posts: n/a
Default Plain CNL 2 - link list not imported correctly

Hi,

first of all let me say thanks for a very useful product!

I'm testing integration of JD in a website and have a problem sending multiple links to JD using Plain CNL 2. It appears that only the last link of the list is imported - and it is imported twice.

Here's code to demonstrate the problem: **External links are only visible to Support Staff****External links are only visible to Support Staff**

After clicking the button, this is the Linkgrabber view:



Core #38642
Launcher #4209
AppWork Utils #3027
Browser #38541
Updater #638
Java: Oracle Corporation - 1.8.0_66(64bit) (120.96 MB/223.50 MB/848.00 MB)

I followed the sample code on http://jdownloader.org/knowledge/wiki/glossary/cnl2.

I'd be very grateful for a pointer in the right direction!

Thanks
.com
Reply With Quote
  #2  
Old 09.02.2018, 18:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

You have to enter real new lines, not escaped ones
You just add the string "\r\n" between, but not the newline
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 09.02.2018, 18:27
.com
Guest
 
Posts: n/a
Default

Yeah, that makes sense! Thanks!
Reply With Quote
  #4  
Old 09.02.2018, 18:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 17:38.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.