Multiple instantiations of Wikipedia source #16
-
Hi! Thank you very much Armin for this very useful package. Is it possible to instantiate multiple version of Wikipedia source: for example one in one language, and one in another? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@neurolit I think that should be possible by defining multiple Wikipedia sources (with a different base URL), but this is not built-in. Let me experiment with that and get back to you |
Beta Was this translation helpful? Give feedback.
-
@neurolit Ok, I did a quick test, and it is possible to get results in different languages, but running multiple instances in different languages in a multi-source search format would require some work around. |
Beta Was this translation helpful? Give feedback.
Ok, here is a quick and somewhat dirty solution. You can, of course, come up with cleaner solutions, for example using macros that take the language code as input and make the fetcher function for you, but I'll leave that to you to figure out!