Imports ads from mobile.de. Currently this does not provide any backend or frontend modules to interact with.
- Install via Contao Manager or Composer (
composer require numero2/contao-mobilede-ads) - Run a database update via the Contao-Installtool or using the contao:migrate command.
Please add your credentials in the global parameters.yml:
parameters:
...
mobile.ads_username: 'username'
mobile.ads_password: 'password'You can either start the import via System › Maintenance › Import ads from mobile.de or the command for the Contao console contao:mobileads:import.
At the start of the import all Ads in the Contao database will be set to published = '' and all active ads found on mobile.de will then be published again.
Functions added to helper converting the data:
numero2\MobileDeAdsBundle\Util\DataUtil::wikitext2Html($text);will convert the wikitext stored indescription_enrichedto html markupnumero2\MobileDeAdsBundle\Util\DataUtil::convertKwToPS($kw);will convert the kw to ps