##Extends theme and layout
####themeDescriptor.json
{
"name": "newspaperMarfeelAds",
"tenantName": "www.vanitatis.elconfidencial.com",
"extends": "www.elconfidencial.com",
##Extends theme and layout
####themeDescriptor.json
{
"name": "newspaperMarfeelAds",
"tenantName": "www.vanitatis.elconfidencial.com",
"extends": "www.elconfidencial.com",
cache adNetwork results (maybe keep cache life longer because will not change && small because 1 per tenant < 400) SEE WITH TOMAS
unify AdConfiguration with TwisterAdNetwork
see how to create a twister.json that could be merged with our twisterConfig.json -> empty twister.json in marfeel tenant as default -> if one adNetwork screw up, we put a twister.json in tenant directory; it can overwrite stuff so one adNetwork is removed or replaced
#!/usr/bin/env bash | |
watch " cp -r ~/Gutenberg/MarfeelAlibaba/src/main/resources/* ~/Gutenberg/MarfeelAlibaba/target/classes && \ | |
cp -r ~/Gutenberg/MarfeelAlibaba/src/main/resources/* ~/Gutenberg/MarfeelHub/target/classes && \ | |
cp -r ~/Gutenberg/MarfeelAlibaba/src/main/resources/* ~/Gutenberg/MarfeelHub/target/webapp/WEB-INF/classes" |
<rss version="2.0" | |
xmlns:content="http://video.search.yahoo.com/mrss"> | |
<channel> | |
<title>Car News, Car Reviews, Racing and Auto Show Stories | Autoweek</title> | |
<link>http://autoweek.com</link> | |
<language>en</language> | |
<lastBuildDate>Fri, 28 Jul 2017 15:21:22 +0000</lastBuildDate> | |
<description>Car News, Car Reviews, Racing and Auto Show Stories | Autoweek</description> | |
<item> | |
<title>This is me working on newsstand</title> |
<rss version="2.0" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/"> | |
<channel> | |
<title>Car News, Car Reviews, Racing and Auto Show Stories | Autoweek</title> | |
<link>http://autoweek.com</link> | |
<language>en</language> | |
<lastBuildDate>Mon, 31 Jul 2017 14:31:13 +0000</lastBuildDate> | |
<description>Car News, Car Reviews, Racing and Auto Show Stories | Autoweek</description> | |
<item> |
<?php | |
/** | |
* Copyright (c) 2017 Marfeel Solutions (https://www.marfeel.com) | |
* All Rights Reserved.* | |
* NOTICE: All information contained herein is, and remains | |
* the property of Marfeel Solutions S.L and its suppliers, | |
* if any. The intellectual and technical concepts contained | |
* herein are proprietary to Marfeel Solutions S.L and its | |
* suppliers and are protected by trade secret or copyright law. | |
* Dissemination of this information or reproduction of this material |
public void setTargeting(DoubleclickTargeting targeting) { | |
for (Map.Entry<String, Object> entry : targeting.getAttributes().entrySet()) { | |
this.targeting.addAttribute(entry.getKey(), entry.getValue()); | |
} | |
} | |
//instead of |
"!inline_2": { | |
"adServer": "marfeel", | |
"params": { | |
"WIDTH": "..", | |
"HEIGHT": ".." | |
} | |
} |