tag:blogger.com,1999:blog-85598553440122739432024-02-08T05:34:23.142-08:00Roendo UnhaAnonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8559855344012273943.post-70998482820621911292017-07-05T09:56:00.003-07:002017-07-05T09:56:22.768-07:00kjhkjh
<%@ page import="java.net.URLEncoder,java.util.Enumeration,java.util.HashMap, java.net.HttpURLConnection,java.net.URL,java.io.BufferedReader,java.io.InputStreamReader" %><%
// Smaato Code Snippet JSP
// Copyright Smaato, Inc., All rights reserved
// Rev: 20131107
// Version: 1.2
String jspsnip= "102";
// Your publisher-id
String somaPub ="1100034656";
// The adspace-id
String somaAdspace ="130289507";
// The user-id, the soma-server has generated at first request
// Attention:
// If it is possible to track each single user on your side, the user-parameter should be empty (&user=).
// Inside the response, there will be the "SomaUserID"-header, with a new generated user-id.
// This new generated "SomaUserID" should be used as "&user="-parameter
// for every following request of this particular user.
//
// If it is not possible on your side, to split apart different users
// (and re-recognize him afterwards at each request)
// please use the following ID for ALL users/requests
// ExampleValue: 900
String somaUserID = "900";
// max. width of the wished ad (e.g. MMA small is 120)
String somaWidth = "";
// max. height of the wished ad (e.g. MMA small is 20)
String somaHeight = "";
// Position of the ad
String somaPos = "top";
// Amount of ads which should be requested. Default is "1"
int somaAdCount = 1;
// The wished format of the requested ad. Default: ALL (other possible values: "IMG" or "TXT")
String somaAdFormat = "ALL";
boolean beacon= true;
/////////////////////////////////
// Do not edit below this line //
/////////////////////////////////
// This section defines Smaato functions and should be used AS IS.
String somaResponseFormat = "HTML";
// Check, which url to use (test or live)
String somaUrl = "http://soma.smaato.com/oapi/";
// Timeout for the request in millseconds
int somaTimeout = 4000;
// The user-agent of the client device
String somaUa = request.getHeader("User-Agent");
if (request.getHeader("X-OperaMini-Phone-UA") != null) {
somaUa = request.getHeader("X-OperaMini-Phone-UA");
} else if (request.getHeader("X-Original-User-Agent") != null) {
somaUa = request.getHeader("X-Original-User-Agent");
} else if (request.getHeader("X-Device-User-Agent") != null) {
somaUa = request.getHeader("X-Device-User-Agent");
}
// The user-agent of the client device as encoded device-parameter
somaUa = URLEncoder.encode(somaUa, "UTF-8");
// Headers to use for the request
HashMap<String, String> somaHeaders = new HashMap<String, String>();
// IP of the client
String somaIp = request.getRemoteAddr();
// Other client header informations, which are set using the prefix "X-MH-"
Enumeration somaEH = request.getHeaderNames();
while (somaEH.hasMoreElements()) {
String name = (String) somaEH.nextElement();
String val = request.getHeader(name);
somaHeaders.put("X-MH-" + name, val);
}
// URL including parameter
somaUrl = somaUrl + "reqAd.jsp?pub=" + somaPub + "&adspace=" + somaAdspace + "&adcount=" + somaAdCount + "&response=" + somaResponseFormat + "&devip=" + somaIp + "&user=" + somaUserID + "&format=" + somaAdFormat + "&position=" + somaPos + "&height=" + somaHeight + "&width=" + somaWidth + "&device=" + somaUa+"&beacon="+beacon+ "&jspsnip="+ jspsnip;
StringBuffer somaOutput = new StringBuffer();
// Open the URL connection
HttpURLConnection c = null;
try {
URL url = new URL(somaUrl);
c = (HttpURLConnection) url.openConnection();
c.setRequestMethod("GET");
c.setConnectTimeout(somaTimeout);
c.setReadTimeout(somaTimeout);
for (String key : somaHeaders.keySet()) {
c.setRequestProperty(key, somaHeaders.get(key));
}
BufferedReader in = new BufferedReader(new InputStreamReader(c.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null) {
somaOutput.append(inputLine);
}
in.close();
// Write the response into the page
out.print(somaOutput.toString());
} catch (Exception e) {
// Exception-Handling
} finally {
if (c != null) {
c.disconnect();
}
}
%>Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0tag:blogger.com,1999:blog-8559855344012273943.post-40448534248068510622017-07-05T07:30:00.000-07:002017-07-05T07:30:02.331-07:00doninhsjh<br />
<br />
<br />
{
"title": "title",
"description": "description",
"icon": {
"url": "<image-url>",
"aspectRatio": 1,
"height": 75,
"width": 75
},
"screenshots": {
"url": "<image-url>",
"aspectRatio": 0.56,
"height": 568,
"width": 320
},
"landingURL": "LandingUrl",
"cta": "cta",
"rating": "rating"
}Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0tag:blogger.com,1999:blog-8559855344012273943.post-9298250330214721352017-06-04T10:19:00.000-07:002017-06-04T10:19:04.189-07:00<iframe allowfullscreen="" frameborder="0" height="180" src="//www.dailymotion.com/embed/video/x5owysb" width="320"></iframe><fr><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i></fr>Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0tag:blogger.com,1999:blog-8559855344012273943.post-72923547148374474832017-06-03T10:36:00.001-07:002017-06-03T10:36:07.449-07:0033 segundos
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5o7vig" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5o7vig_novobrinquedo-dailyvlog_webcam" target="_blank">#NovoBrinquedo #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5o7vig" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5o7vig_novobrinquedo-dailyvlog_webcam" target="_blank">#NovoBrinquedo #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5o7vig" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5o7vig_novobrinquedo-dailyvlog_webcam" target="_blank">#NovoBrinquedo #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0tag:blogger.com,1999:blog-8559855344012273943.post-30822788560410575102017-06-03T10:29:00.002-07:002017-06-03T10:29:44.854-07:0030 segundos
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owy0g" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owy0g_mesagamer-30s-one-merci-dailyvlog_webcam" target="_blank">#MesaGamer /30s / One/ Merci/ #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0tag:blogger.com,1999:blog-8559855344012273943.post-34065310144818518672017-06-03T10:27:00.002-07:002017-06-03T10:27:06.548-07:0032 segundos
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>
<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/x5owysb" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x5owysb_o-fada-dailyvlog_webcam" target="_blank">O Fada #dailyvlog</a> <i>por <a href="http://www.dailymotion.com/cr2-cr3" target="_blank">cr2-cr3</a></i>Anonymoushttp://www.blogger.com/profile/10055194633479839089noreply@blogger.com0