1. Seppi
  2. RO CSVI
  3. Tuesday, 17 September 2024
  4.  Subscribe via email
Hello there,

We want to import Joomla articles from a different Joomla site using a DB connection in your component. The option "content" will import all the articles from the source database, right? How can we specify, which categories we want to import from?

Thanks in advance, and best regards
Accepted Answer Pending Moderation
Hello,
How can we specify, which categories we want to import from?

You can use RO CSVI Skip rule plugin and specify the categories which you want to skip on import.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Tharuna

Thanks for the hint. So I added the rule to the field «category path».

Since we just need to import one single category: Can we also exclude anything but one category (if I choose «regular expression» in the method of the rule?)

thanks for any hint

Peter
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Peter,
Since we just need to import one single category: Can we also exclude anything but one category (if I choose «regular expression» in the method of the rule?)

Yes that is possible with regular expression. Please read through the topic here. You can use the same regex from the post to exclude other categories. Let me know if that helps.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hey Tharuna

Thanks, good to know!

Unfortunately the link you sent is not working on our side (leads to https://rolandd.com/404-page#reply-65130).

Can you check this / resend it, please?

Thanks a lot

Peter
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Peter,
I just noticed that post was set to Private and so you are not able to access it. I am sending the regex from the post here. The below regex will skip the categories which do not have text category in it. You can put the name of category in this regex, create a skip rule and run the import.


/^(?!.*(category)).*$/
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hi Tharuna

Thanks a lot, can we do this also with IDs instead of category names (this would make sure the selection does not brake, if someone changes a category name)?

Cheers

Peter
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Peter,
You can use the same regex with IDs and multiple IDs separated by | but one problem is it does not look for exact match so if an id value is XID1Y then it will be skipped as there is ID1 in the value.


/^(?!.*(ID1|ID2|ID3)).*$/
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!