Exporting feed with replaced strings

More
24 Feb 2017 06:37 #3901 by Daniel

Please Log in to join the conversation.

  • Tan Nguyen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
23 Feb 2017 20:37 #3899 by Tan Nguyen
Exporting feed with replaced strings was created by Tan Nguyen
Hi,

I am using a CCK component for Joomla. Users can upload images, but the
CCK stores the internal path for the images and I need to export the
web URLs via vData Feed.

Source records e.g.:
"/home/xxx/public_html/etc/xxx.jpg"
"/home/xxx/public_html/etc/xx2.jpg"

Need to export:
" www.xxx.com/public_html/etc/xxx.jpg "
" www.xxx.com/public_html/etc/xx2.jpg "

In "Profiles" I experimented with the column field with "As defined"
and tried several @vdsql and @vdphp functions with substr_replace etc to replace
the string "/home...", but failed to have the expected result, as the string
would be completely replaced.

Any help for the right function would be so much appreciated.

cheers

Please Log in to join the conversation.

Cron Job Starts