Changeset 3375648
- Timestamp:
- 10/09/2025 10:34:35 AM (2 months ago)
- Location:
- xml-sitemap-feed/trunk
- Files:
-
- 1 added
- 6 edited
-
assets/donate.png (added)
-
assets/sitemap-news.xsl (modified) (2 diffs)
-
inc/class-sitemap-news.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
views/admin/sidebar-contribute.php (modified) (1 diff)
-
views/feed-sitemap-news.php (modified) (1 diff)
-
xml-sitemap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xml-sitemap-feed/trunk/assets/sitemap-news.xsl
r3264583 r3375648 23 23 <th>Title</th> 24 24 <th>Language</th> 25 <th>Keyword(s)</th>26 <th>Stock(s)</th>27 25 <th>Publication Date</th> 28 26 </tr> … … 36 34 </td> 37 35 <td><xsl:value-of select="news:news/news:publication/news:language"/></td> 38 <td><xsl:value-of select="news:news/news:keywords"/></td>39 <td><xsl:value-of select="news:news/news:stock_tickers"/></td>40 36 <td><xsl:value-of select="concat(substring(news:news/news:publication_date,0,11),concat(' ', substring(news:news/news:publication_date,12,8)))"/> (<xsl:value-of select="substring(news:news/news:publication_date,20,6)"/>)</td> 41 37 </tr> -
xml-sitemap-feed/trunk/inc/class-sitemap-news.php
r3334262 r3375648 42 42 43 43 // Add sitemap in Robots TXT. 44 add_filter( 'robots_txt', array( $this, 'robots_txt' ), 9 );44 \add_filter( 'robots_txt', array( $this, 'robots_txt' ), 9 ); 45 45 46 46 // Compatibility hooks. -
xml-sitemap-feed/trunk/readme.txt
r3362080 r3375648 1 1 === XML Sitemap & Google News === 2 2 Contributors: RavanH 3 Donate link: https://www.paypal.com/ cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed3 Donate link: https://www.paypal.com/donate/?hosted_button_id=5UVXZVN5HDKBS 4 4 Tags: sitemap, xml, news, robots, Google News 5 5 Requires at least: 4.6 -
xml-sitemap-feed/trunk/views/admin/sidebar-contribute.php
r3334262 r3375648 9 9 <h3><span class="dashicons dashicons-thumbs-up"></span> <?php esc_html_e( 'Contribute', 'xml-sitemap-feed' ); ?></h3> 10 10 <p> 11 <a target="_blank" href="https://www.paypal.com/ cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feeds&item_number=version%20<?php echo esc_url( XMLSF_VERSION ); ?>&no_shipping=0&tax=0&charset=UTF%2d8"11 <a target="_blank" href="https://www.paypal.com/donate/?hosted_button_id=5UVXZVN5HDKBS" 12 12 title="<?php printf( /* translators: Plugin name */ esc_html__( 'Donate to keep the free %s plugin development & support going!', 'xml-sitemap-feed' ), esc_html__( 'XML Sitemap & Google News', 'xml-sitemap-feed' ) ); ?>"> 13 <img src="<?php trailingslashit( plugins_url( 'assets', XMLSF_BASENAME ) ); ?>donate.png" style="border:none;float:right;margin:4px 0 0 10px" width="92" height="26" /> 13 14 <img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" style="border:none;float:right;margin:4px 0 0 10px" width="92" height="26" /> 14 15 </a> 16 <div id="donate-button-container"> 17 <div id="donate-button"></div> 18 <script src="https://www.paypalobjects.com/donate/sdk/donate-sdk.js" charset="UTF-8"></script> 19 <script> 20 PayPal.Donation.Button({ 21 env:'production', 22 hosted_button_id:'5UVXZVN5HDKBS', 23 image: { 24 src:'https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif', 25 alt:'Donate with PayPal button', 26 title:'PayPal - The safer, easier way to pay online!', 27 } 28 }).render('#donate-button'); 29 </script> 30 </div> 15 31 <?php 16 32 printf( /* translators: %1$s Review (linked to https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/?filter=5#new-post) and %2$s Translating (linked to https://translate.wordpress.org/projects/wp-plugins/xml-sitemap-feed) */ -
xml-sitemap-feed/trunk/views/feed-sitemap-news.php
r3334262 r3375648 61 61 echo '<news:publication_date>' . esc_xml( get_date_from_gmt( $post->post_date_gmt, DATE_W3C ) ) . '</news:publication_date>'; 62 62 echo '<news:title>' . esc_xml( apply_filters( 'xmlsf_news_title', get_the_title() ) ) . '</news:title>'; 63 echo '<news:keywords>' . esc_xml( implode( ', ', (array) apply_filters( 'xmlsf_news_keywords', array(), $post->ID ) ) ) . '</news:keywords>';64 echo '<news:stock_tickers>' . esc_xml( implode( ', ', apply_filters( 'xmlsf_news_stock_tickers', array() ) ) ) . '</news:stock_tickers>';65 63 66 64 do_action( 'xmlsf_news_tags_inner', $post ); -
xml-sitemap-feed/trunk/xml-sitemap.php
r3362080 r3375648 3 3 * Plugin Name: XML Sitemap & Google News 4 4 * Plugin URI: https://status301.net/wordpress-plugins/xml-sitemap-feed/ 5 * Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. Happy with the results? Please leave me a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed">tip</a></strong> for continued development and support. Thanks :)6 * Version: 5.5. 75 * Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. 6 * Version: 5.5.8-RC1 7 7 * Text Domain: xml-sitemap-feed 8 8 * Requires at least: 4.4
Note: See TracChangeset
for help on using the changeset viewer.