gpt4 book ai didi

java - 将照片添加到 Google Play 报亭中的图库

转载 作者:太空狗 更新时间:2023-10-29 22:58:24 26 4
gpt4 key购买 nike

我尝试在 Google Play 报亭的文章库中添加几张图片,但没有成功。我尝试添加 3 张大小合适的图片,但它们无法显示到文章的图库中。

<media:content url="[URL IMAGE]"
type="image/png" expression="full" width="538" height="190">
<media:description type="plain">[DESCRIPTION]</media:description>
<media:credit role="author" scheme="urn:ebu">[AUTHOR]</media:credit>
</media:content>

这是我的 <item> 的一个例子元素:

<item>
<title><![CDATA[Arquean a cafetería]]></title>
<link><![CDATA[http://google/wE-bacdkE]]></link>
<content:encoded><![CDATA[Today we’re introducing a new age-based rating system for apps and games on Google Play. We know that people in different countries have different ideas about what content is appropriate for kids, teens and adults, so today’s announcement will help developers better label their apps for the right audience. Consistent with industry best practices, this change will give developers an easy way to communicate familiar and locally relevant content ratings to their users and help improve app discovery and engagement by letting people choose content that is right for them.

Starting now, developers can complete a content rating questionnaire for each of their apps and games to receive objective content ratings. Google Play’s new rating system includes official ratings from the International Age Rating Coalition (IARC) and its participating bodies, including the Entertainment Software Rating Board (ESRB), Pan-European Game Information (PEGI), Australian Classification Board, Unterhaltungssoftware Selbstkontrolle (USK) and Classificação Indicativa (ClassInd). Territories not covered by a specific ratings authority will display an age-based, generic rating. The process is quick, automated and free to developers. In the coming weeks, consumers worldwide will begin to see these new ratings in their local markets.]]></content:encoded>
<author>Grupo Jorgesys</author>
<media:content url="http://www.jorgesys.com/images/1973850.png"
type="image/png" expression="full" width="538" height="190"><media:description type="plain"><![CDATA[Android]]></media:description><media:credit role="author" scheme="urn:ebu"><![CDATA[Grupo Jorgesys / Staff]]></media:credit></media:content>
<media:content url="http://flv.grupoJorgesys.com/flash/elnorte/articulo/mp3/online/1/489/488838.mp3" medium="audio"><media:title><![CDATA[Arquean a cafetería]]></media:title><media:description><![CDATA[Arquean a cafetería]]></media:credit></media:content>

<media:content url="http://www.jorgesys.com/images/1973852.png"
type="image/png" expression="full" width="538" height="190"><media:description type="plain"><![CDATA[Android0]]></media:description><media:credit role="author" scheme="urn:ebu"><![CDATA[Grupo Jorgesys / Staff]]></media:credit></media:content>

<media:content url="http://www.jorgesys.com/images/1973856.png"
type="image/png" expression="full" width="538" height="190"><media:description type="plain"><![CDATA[Android1]]></media:description><media:credit role="author" scheme="urn:ebu"><![CDATA[Grupo Jorgesys / Staff]]></media:credit></media:content>

<media:content url="http://www.jorgesys.com/images/1973858.png"
type="image/png" expression="full" width="538" height="190"><media:description type="plain"><![CDATA[Android2]]></media:description><media:credit role="author" scheme="urn:ebu"><![CDATA[Grupo Jorgesys / Staff]]></media:credit></media:content>

<media:content url="http://www.jorgesys.com/images/1973860.png"
type="image/png" expression="full" width="538" height="190"><media:description type="plain"><![CDATA[Arquean a cafetería]]></media:description><media:credit role="author" scheme="urn:ebu"><![CDATA[Grupo Jorgesys / Staff]]></media:credit></media:content>

</item>

最佳答案

好吧,我在 .rss 文件中定义的图像大小是 width="538"height="190" a无法显示在文章库中的尺寸。我已将图像的大小更改为 width="800"height="400",现在正在显示图像。

Google 报亭版本中图像的特征是:

在文章正文和图库中显示的图片:用户希望看到漂亮的大图片。图片的最短边应为 800 像素,但最好更大一些以便在平板电脑上更好地显示。

封面图片要求:

  • 300 DPI 图片分辨率
  • JPEG 压缩设置为高
  • 宽度为 2400 像素(高度可能因杂志的宽高比而异)

预览图片要求:

  • 300 DPI 图片分辨率
  • JPEG 压缩设置为高
  • 2400 像素宽(高度可能因杂志的宽高比而异)

更多信息:

现在图像显示没有问题:

enter image description here

关于java - 将照片添加到 Google Play 报亭中的图库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29151470/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com