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
- Seppi
- RO CSVI
- Tuesday, 17 September 2024
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
You can use RO CSVI Skip rule plugin and specify the categories which you want to skip on import.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
Accepted Answer
Pending Moderation
Hello Peter,
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
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.
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
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »