Plugin Directory

Changeset 3300104


Ignore:
Timestamp:
05/25/2025 06:57:08 AM (8 months ago)
Author:
Annubis
Message:

update 2.4

Location:
simple-xml-sitemap-generator
Files:
28 added
11 edited

Legend:

Unmodified
Added
Removed
  • simple-xml-sitemap-generator/trunk/form.php

    r2788533 r3300104  
    11<?php
    2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
     2if (! defined('ABSPATH')) exit; // Exit if accessed directly
    33
    44/* --------------------------------------------------------------------------------------------------------------------------------------- */
    5  function adminForm_sxmlsg() {
    6      
     5function adminForm_sxmlsg()
     6{
     7
    78
    89?>
    9 <div class="wrap">
    10 <h2><?php _e( 'Simple XML Sitemap Generator', 'simple-xml-sitemap-generator' ); ?></h2>
    11 
    12 <p><?php _e( 'With this Plugin an XML Sitemap will be generated automatically.', 'simple-xml-sitemap-generator' ); ?></p>
    13 <h3><?php _e( 'Installation Manual', 'simple-xml-sitemap-generator' ); ?></h3>
    14 <p><?php _e( 'At the first installation you just have to refresh or resave a post or page, and after that your xml file is generated.', 'simple-xml-sitemap-generator' ); ?></p>
    15 
    16 
    17    
    18 <hr />
    19    
    20    
    21    
    22    
    23 <?php
    24 /*
     10  <div class="wrap">
     11    <h2><?php esc_html_e('Simple XML Sitemap Generator', 'simple-xml-sitemap-generator'); ?></h2>
     12
     13    <p><?php esc_html_e('With this Plugin an XML Sitemap will be generated automatically.', 'simple-xml-sitemap-generator'); ?></p>
     14    <h3><?php esc_html_e('Installation Manual', 'simple-xml-sitemap-generator'); ?></h3>
     15    <p><?php esc_html_e('At the first installation you just have to refresh or resave a post or page, and after that your xml file is generated.', 'simple-xml-sitemap-generator'); ?></p>
     16
     17
     18
     19    <hr />
     20
     21
     22
     23
     24    <?php
     25    /*
    2526 <h3>#start#</h3>
    2627$categories = get_categories();
     
    3132<h3>#ende#</h3>     
    3233*/
    33  
    34 /*------nonce field check start ---- */
    35 if (isset($_REQUEST['submit'])) {
    36 
    37   if (
    38     ! isset( $_POST['nonce_tel'] )
    39     || ! wp_verify_nonce( $_POST['nonce_tel'], 'nonce_tel_field' )
    40         ) {
    41 
    42                 //print 'Sorry, your nonce did not verify.';
    43                 exit;
    44 
    45             } else {
    46         saveForm_quickwhatsapp();
    47             }
    48            
    49   }         
    50 /*------nonce field check end ---- */ 
    51 
    52  
    53  
    54 
    55 
    56 /*------nonce field reset start ---- */
    57 if (isset($_REQUEST['submit_post_kat_sxmlsg'])) {
    58   if (
    59     ! isset( $_POST['nonce_wppostkat'] )
    60     || ! wp_verify_nonce( $_POST['nonce_wppostkat'], 'nonce_wppostkat_field' )
    61         ) {
    62             print '##error';
    63                 //print 'Sorry, your nonce did not verify.';
    64                 exit;
    65 
    66             } else {
    67       //print '##ok';
    68         saveForm_kat_sxmlsg();
    69             }
    70 }
    71 /*------nonce field reset end ---- */
    72 
    73 
    74      
    75  
    76  
    77 
    78 
    79 
    80 
    81 
    82  
    83  
    84  showForm_sxmlsg();
    85  }
    86 /* --------------------------------------------------------------------------------------------------------------------------------------- */
    87  
    88  
    89  
    90  
    91  
    92  
    93  
    94  
    95  
    96 /* --------------------------------------------------------------------------------------------------------------------------------------- */   
    97     //reset
     34
     35    /*------nonce field check start ---- */
     36    if (isset($_REQUEST['submit'])) {
     37
     38      if (
     39        ! isset($_POST['nonce_tel'])
     40        || ! wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['nonce_tel'])), 'nonce_tel_field')
     41      ) {
     42
     43        //print 'Sorry, your nonce did not verify.';
     44        exit;
     45      } else {
     46        saveForm_quickwhatsapp();
     47      }
     48    }
     49    /*------nonce field check end ---- */
     50
     51
     52
     53
     54
     55    /*------nonce field reset start ---- */
     56    if (isset($_REQUEST['submit_post_kat_sxmlsg'])) {
     57      if (
     58        ! isset($_POST['nonce_wppostkat'])
     59        || ! wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['nonce_wppostkat'])), 'nonce_wppostkat_field')
     60      ) {
     61        echo '##error';
     62        //print 'Sorry, your nonce did not verify.';
     63        exit;
     64      } else {
     65        //print '##ok';
     66        saveForm_kat_sxmlsg();
     67      }
     68    }
     69    /*------nonce field reset end ---- */
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82    showForm_sxmlsg();
     83  }
     84  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     95  //reset
    9896  if (isset($_REQUEST['quickwhatsappbutton_reset'])) {
    99       $resetter = '';
    100    update_option('quickwhatsapp', sanitize_text_field($resetter) );
    101   }
    102 
    103 function resetForm_quickwhatsapp333333() {
    104  
    105   update_option('quickwhatsapp', '' );
    106 
    107  
    108  }
    109 /* --------------------------------------------------------------------------------------------------------------------------------------- */
    110 
    111 
    112 
    113 
    114 /* --------------------------------------------------------------------------------------------------------------------------------------- */ 
    115 /* greetings */
    116  function saveForm_kat_sxmlsg() {
    117 
    118 $sxmlsg_wpkat = $_REQUEST['sxmlsg_wpkat'];
    119 //ECHO "<br />"; 
    120 //ECHO "zum abspeichern bereitlegen: $sxmlsg_wpkat";     
    121 //ECHO "<br />";
    122      
    123 //ECHO "saved";
    124 _e( 'new setting saved', 'simple-xml-sitemap-generator' );
    125      
    126   update_option('sxmlsg_kategorien', $sxmlsg_wpkat);
    127 
    128  
    129  
    130  }
    131 /* --------------------------------------------------------------------------------------------------------------------------------------- */
    132 
    133 
    134 
    135 
    136 /* --------------------------------------------------------------------------------------------------------------------------------------- */
    137 function showForm_sxmlsg() {
    138 
    139 
    140    
    141 /* #################### WordPress Kategorie add ######################### */
    142    
    143 
    144 $sxmlsg_kategorien_view = get_option('sxmlsg_kategorien');
    145    
    146 
    147 ?>
    148 <form method='post'>
    149 <h3><?php _e( 'Add WordPress post category to the Sitemap?', 'simple-xml-sitemap-generator' ); ?></h3> 
    150    
    151 <?php
    152 //<option value="Ja" selected="selected">Ja</option>
    153 
    154 echo '<select name="sxmlsg_wpkat" id="sxmlsg_wpkat">';
    155 
    156 if ($sxmlsg_kategorien_view  == 'Nein')
    157 {
    158 ?>
    159   <option value="Nein" selected="selected"><?php _e( 'No', 'simple-xml-sitemap-generator' ); ?></option>
    160   <option value="Ja"><?php _e( 'Yes', 'simple-xml-sitemap-generator' ); ?></option>
    161 <?php
    162 }
    163 
    164 elseif  ($sxmlsg_kategorien_view == 'Ja')
    165 
    166 {
    167   ?>
    168   <option value="Nein"><?php _e( 'No', 'simple-xml-sitemap-generator' ); ?></option>
    169   <option value="Ja" selected="selected"><?php _e( 'Yes', 'simple-xml-sitemap-generator' ); ?></option>
    170 <?php
    171 }
    172 
    173 else
    174 {
    175   ?>
    176   <option value="Nein"><?php _e( 'No', 'simple-xml-sitemap-generator' ); ?></option>
    177   <option value="Ja"><?php _e( 'Yes', 'simple-xml-sitemap-generator' ); ?></option>
    178 <?php
    179 }
    180 ?>
    181 </select>
    182    
    183 
    184    
    185 </label><br /><p></p>
    186 <input type="submit" style="height: 25px; width: 250px" name="submit_post_kat_sxmlsg" value="<?php _e( 'Save', 'simple-xml-sitemap-generator' ); ?>">
    187  <?php wp_nonce_field( 'nonce_wppostkat_field', 'nonce_wppostkat' ); ?>
    188 </form><br />
    189 
    190 <hr>
    191 <br />
    192 <div class="wrap">
    193 <?
    194 $screenshot = '<img src="' . plugins_url( 'images/screenshot-1.png', __FILE__ ) . '" width="600">';
    195 ?>
    196 <h2><?php _e( 'Exclude Post or Pages or WooCommerce Product?', 'simple-xml-sitemap-generator' ); ?></h2>
    197 <p><?php _e( 'You would to to prevent certain Posts or Pages or WooCommerce Product from being displayed in the xml sitemap?', 'simple-xml-sitemap-generator' ); ?></p>
    198 <p><?php _e( '1. Create  new Custome Field', 'simple-xml-sitemap-generator' ); ?></p>
    199 <p><?php _e( '2. enter the following text <b>sitemap</b> in the <b>Name</b> field', 'simple-xml-sitemap-generator' ); ?></p>
    200 <p><?php _e( '3. enter the following text <b>no</b> in the <b>Value</b> field', 'simple-xml-sitemap-generator' ); ?></p>
    201 <p><?php _e( '4. save this post or page or woocommerce product', 'simple-xml-sitemap-generator' ); ?></p>
    202 <p><?php _e( '5. this post / page / or woocommerce product is no longer displayed in your xml sitemap', 'simple-xml-sitemap-generator' ); ?></p>
    203 <p><?php echo $screenshot ?></p>
    204 </div>
    205 <hr>
    206 <div class="wrap">
    207 <?
    208 $screenshot = '<img src="' . plugins_url( 'images/screenshot-2.png', __FILE__ ) . '" width="600">';
    209 ?>
    210 <h2><?php _e( 'Set sitemap priority value yourself', 'simple-xml-sitemap-generator' ); ?></h2>
    211 <p><?php _e( 'You want to set the priority value yourself in your posts or pages?', 'simple-xml-sitemap-generator' ); ?></p>
    212 <p><?php _e( '1. Create  new Custome Field', 'simple-xml-sitemap-generator' ); ?></p>
    213 <p><?php _e( '2. enter the following text <b>sitemapscore</b> in the <b>Name</b> field', 'simple-xml-sitemap-generator' ); ?></p>
    214 <p><?php _e( '3a. now you can add your priority value in the <b>Value</b> field. ', 'simple-xml-sitemap-generator' ); ?></p>
    215 <p><?php _e( '3b. the value must be between 0 and 1 (exp 0.8) ', 'simple-xml-sitemap-generator' ); ?></p>
    216 <p><?php _e( '4. save this post or page or woocommerce product', 'simple-xml-sitemap-generator' ); ?></p>
    217 <p><?php _e( '5. now your post / page / or woocommerce product has a new sitemap priority value', 'simple-xml-sitemap-generator' ); ?></p>
    218 <p><?php echo $screenshot ?></p>
    219 </div>
    220 <?php
    221 /* ############################################################## */
    222 //alt: beforefp: neu quickwhatsapp
    223  
    224   ?>
     97    // Add nonce verification for reset functionality
     98    if (isset($_POST['reset_nonce']) && wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['reset_nonce'])), 'reset_nonce_field')) {
     99      $resetter = '';
     100      update_option('quickwhatsapp', sanitize_text_field($resetter));
     101    }
     102  }
     103
     104  function resetForm_quickwhatsapp333333()
     105  {
     106
     107    update_option('quickwhatsapp', '');
     108  }
     109  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     110
     111
     112
     113
     114  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     115  /* greetings */
     116  function saveForm_kat_sxmlsg()
     117  {
     118    // Check if the required field exists before processing
     119    if (isset($_REQUEST['sxmlsg_wpkat'])) {
     120      $sxmlsg_wpkat = sanitize_text_field(wp_unslash($_REQUEST['sxmlsg_wpkat']));
     121      //ECHO "<br />"; 
     122      //ECHO "zum abspeichern bereitlegen: $sxmlsg_wpkat";   
     123      //ECHO "<br />";
     124
     125      //ECHO "saved";   
     126      esc_html_e('new setting saved', 'simple-xml-sitemap-generator');
     127
     128      update_option('sxmlsg_kategorien', $sxmlsg_wpkat);
     129    }
     130  }
     131  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     132
     133
     134
     135
     136  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     137  function showForm_sxmlsg()
     138  {
     139
     140
     141
     142    /* #################### WordPress Kategorie add ######################### */
     143
     144
     145    $sxmlsg_kategorien_view = get_option('sxmlsg_kategorien');
     146
     147
     148    ?>
     149    <form method='post'>
     150      <h3><?php esc_html_e('Add WordPress post category to the Sitemap?', 'simple-xml-sitemap-generator'); ?></h3>
     151
     152      <?php
     153      //<option value="Ja" selected="selected">Ja</option>
     154
     155      echo '<select name="sxmlsg_wpkat" id="sxmlsg_wpkat">';
     156
     157      if ($sxmlsg_kategorien_view  == 'Nein') {
     158      ?>
     159        <option value="Nein" selected="selected"><?php esc_html_e('No', 'simple-xml-sitemap-generator'); ?></option>
     160        <option value="Ja"><?php esc_html_e('Yes', 'simple-xml-sitemap-generator'); ?></option>
     161      <?php
     162      } elseif ($sxmlsg_kategorien_view == 'Ja') {
     163      ?>
     164        <option value="Nein"><?php esc_html_e('No', 'simple-xml-sitemap-generator'); ?></option>
     165        <option value="Ja" selected="selected"><?php esc_html_e('Yes', 'simple-xml-sitemap-generator'); ?></option>
     166      <?php
     167      } else {
     168      ?>
     169        <option value="Nein"><?php esc_html_e('No', 'simple-xml-sitemap-generator'); ?></option>
     170        <option value="Ja"><?php esc_html_e('Yes', 'simple-xml-sitemap-generator'); ?></option>
     171      <?php
     172      }
     173      ?>
     174      </select>
     175
     176
     177
     178      </label><br />
     179      <p></p>
     180      <input type="submit" style="height: 25px; width: 250px" name="submit_post_kat_sxmlsg" value="<?php esc_attr_e('Save', 'simple-xml-sitemap-generator'); ?>">
     181      <?php wp_nonce_field('nonce_wppostkat_field', 'nonce_wppostkat'); ?>
     182    </form><br />
     183
     184    <hr>
     185    <br />
     186    <div class="wrap">
     187      <?php
     188      $screenshot = '<img src="' . esc_url(plugins_url('images/screenshot-1.png', __FILE__)) . '" width="600">';
     189      ?>
     190      <h2><?php esc_html_e('Exclude Post or Pages or WooCommerce Product?', 'simple-xml-sitemap-generator'); ?></h2>
     191      <p><?php esc_html_e('You would to to prevent certain Posts or Pages or WooCommerce Product from being displayed in the xml sitemap?', 'simple-xml-sitemap-generator'); ?></p>
     192      <p><?php esc_html_e('1. Create  new Custome Field', 'simple-xml-sitemap-generator'); ?></p>
     193      <p><?php echo wp_kses_post(__('2. enter the following text <b>sitemap</b> in the <b>Name</b> field', 'simple-xml-sitemap-generator')); ?></p>
     194      <p><?php echo wp_kses_post(__('3. enter the following text <b>no</b> in the <b>Value</b> field', 'simple-xml-sitemap-generator')); ?></p>
     195      <p><?php esc_html_e('4. save this post or page or woocommerce product', 'simple-xml-sitemap-generator'); ?></p>
     196      <p><?php esc_html_e('5. this post / page / or woocommerce product is no longer displayed in your xml sitemap', 'simple-xml-sitemap-generator'); ?></p>
     197      <p><?php echo wp_kses_post($screenshot); ?></p>
     198    </div>
     199    <hr>
     200    <div class="wrap">
     201      <?php
     202      $screenshot = '<img src="' . esc_url(plugins_url('images/screenshot-2.png', __FILE__)) . '" width="600">';
     203      ?>
     204      <h2><?php esc_html_e('Set sitemap priority value yourself', 'simple-xml-sitemap-generator'); ?></h2>
     205      <p><?php esc_html_e('You want to set the priority value yourself in your posts or pages?', 'simple-xml-sitemap-generator'); ?></p>
     206      <p><?php esc_html_e('1. Create  new Custome Field', 'simple-xml-sitemap-generator'); ?></p>
     207      <p><?php echo wp_kses_post(__('2. enter the following text <b>sitemapscore</b> in the <b>Name</b> field', 'simple-xml-sitemap-generator')); ?></p>
     208      <p><?php esc_html_e('3a. now you can add your priority value in the <b>Value</b> field. ', 'simple-xml-sitemap-generator'); ?></p>
     209      <p><?php esc_html_e('3b. the value must be between 0 and 1 (exp 0.8) ', 'simple-xml-sitemap-generator'); ?></p>
     210      <p><?php esc_html_e('4. save this post or page or woocommerce product', 'simple-xml-sitemap-generator'); ?></p>
     211      <p><?php esc_html_e('5. now your post / page / or woocommerce product has a new sitemap priority value', 'simple-xml-sitemap-generator'); ?></p>
     212      <p><?php echo wp_kses_post($screenshot); ?></p>
     213    </div>
     214    <?php
     215    /* ############################################################## */
     216    //alt: beforefp: neu quickwhatsapp
     217
     218    ?>
    225219  </div>
    226220  <div class="wrap">
    227 <h2><?php _e( 'Plugin recommendation', 'wp-smart-seo' ); ?></h2>
    228     <p><?php _e( 'if you need are looking for a seo plugin for your wordpress, then I recommend this plugin called "WP Smart SEO".', 'wp-smart-seo' ); ?><br />
    229     <?php _e( 'Download:', 'wp-smart-seo' ); ?> <a href="https://de.wordpress.org/plugins/wp-smart-seo/" target="_blank">https://de.wordpress.org/plugins/wp-smart-seo/</a></p>
    230    
    231     <p><?php _e( 'If you want to install google analytics (Universal and GA4), then I recommend this plugin "Quick Google Analytics".', 'wp-smart-seo' ); ?><br />
    232     <?php _e( 'Download:', 'wp-smart-seo' ); ?> <a href="https://wordpress.org/plugins/quick-google-analytics/" target="_blank">https://wordpress.org/plugins/quick-google-analytics/</a></p>
    233    
    234     <p><?php _e( 'all 3 plugins work perfectly together', 'wp-smart-seo' ); ?></p>
    235 </div>
     221    <h2><?php esc_html_e('Plugin recommendation', 'simple-xml-sitemap-generator'); ?></h2>
     222    <p><?php esc_html_e('if you need are looking for a seo plugin for your wordpress, then I recommend this plugin called "WP Smart SEO".', 'simple-xml-sitemap-generator'); ?><br />
     223      <?php esc_html_e('Download:', 'simple-xml-sitemap-generator'); ?> <a href="<?php echo esc_url('https://de.wordpress.org/plugins/simple-xml-sitemap-generator/'); ?>" target="_blank"><?php echo esc_url('https://de.wordpress.org/plugins/simple-xml-sitemap-generator/'); ?></a></p>
     224
     225    <p><?php esc_html_e('If you want to install google analytics (Universal and GA4), then I recommend this plugin "Quick Google Analytics".', 'simple-xml-sitemap-generator'); ?><br />
     226      <?php esc_html_e('Download:', 'simple-xml-sitemap-generator'); ?> <a href="<?php echo esc_url('https://wordpress.org/plugins/quick-google-analytics/'); ?>" target="_blank"><?php echo esc_url('https://wordpress.org/plugins/quick-google-analytics/'); ?></a></p>
     227
     228    <p><?php esc_html_e('all 3 plugins work perfectly together', 'simple-xml-sitemap-generator'); ?></p>
     229  </div>
    236230  <div class="wrap">
    237  
    238   <h2><?php _e( 'Information', 'simple-xml-sitemap-generator' ); ?></h2>
    239   <p><?php _e( 'This is the Simple XML Sitemap Generator Plugin for WordPress - created by', 'simple-xml-sitemap-generator' ); ?> Eric-Oliver M&auml;chler von <a href="http://www.chefblogger.me" target="_blank">www.chefblogger.me</a></p>
    240 
    241  
     231
     232    <h2><?php esc_html_e('Information', 'simple-xml-sitemap-generator'); ?></h2>
     233    <p><?php esc_html_e('This is the Simple XML Sitemap Generator Plugin for WordPress - created by', 'simple-xml-sitemap-generator'); ?> Eric-Oliver M&auml;chler von <a href="<?php echo esc_url('http://www.chefblogger.me'); ?>" target="_blank"><?php echo esc_url('www.chefblogger.me'); ?></a></p>
     234
     235
    242236  </div>
    243   <?php
    244  }
    245  /* --------------------------------------------------------------------------------------------------------------------------------------- */
     237<?php
     238  }
     239  /* --------------------------------------------------------------------------------------------------------------------------------------- */
    246240?>
  • simple-xml-sitemap-generator/trunk/index.php

    r3274255 r3300104  
    44Plugin URI: http://www.chefblogger.me
    55Description: XML Sitemap creates an XML for use with Google and Yahoo (and Yes! Bing too). Just install it to your wordpress installation and let the plugin do his job. <a href="options-general.php?page=QWA_sxmlsg">Administration</a>
    6 Version: 2.3
     6Version: 2.4
    77Author: Eric-Oliver Mächler
    88Author URI: http://www.chefblogger.me
    9 Requires at least: 3.5
     9Requires at least: 4.0
    1010Tested up to: 6.8
    1111Text Domain: simple-xml-sitemap-generator
    1212Domain Path: /languages
     13License: GPLv2 or later
     14License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1315*/
    1416
    1517include 'conf.php';
    1618
    17 
    18 //mehrsprachigkeit
     19// Mehrsprachigkeit laden
    1920function my_plugin_initsimplexmlsitemapgenerator()
    2021{
     
    2324add_action('init', 'my_plugin_initsimplexmlsitemapgenerator');
    2425
    25 
    26 /* WordPress 5.5 interner XML Sitemap Generator abschalten */
     26// WordPress internen XML Sitemap Generator abschalten
    2727add_filter('wp_sitemaps_enabled', '__return_false');
    2828
    29 
    30 /* Coding start */
     29// Sitemap-Erstellung
    3130function sg_create_sitemap()
    3231{
    3332  $postsForSitemap = get_posts(array(
    3433    'numberposts' => -1,
    35     'orderby' => 'modified',
    36     'post_type'  => array('post', 'page', 'product'),
    37     'order'    => 'DESC'
     34    'orderby'     => 'modified',
     35    'post_type'   => array('post', 'page', 'product'),
     36    'order'       => 'DESC'
    3837  ));
    3938
     
    4140  $sitemap .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
    4241
    43 
    44 
    45   $xmlpost_id = get_the_ID();
    46   $xmlpost_id_check = nl2br(get_post_meta($xmlpost_id, 'sitemap', true));
    47 
    4842  foreach ($postsForSitemap as $post) {
    4943    setup_postdata($post);
    50 
    5144    $postdate = explode(" ", $post->post_modified);
    5245
    5346    $xml_textid = $post->ID;
    54     $xml_custom_field = nl2br(get_post_meta($xml_textid, 'sitemap', true));
     47    $xml_custom_field = get_post_meta($xml_textid, 'sitemap', true);
     48    $xml_sitemapscore = get_post_meta($xml_textid, 'sitemapscore', true);
    5549
    56     // score wert
    57     $xml_sitemapscore = nl2br(get_post_meta($xml_textid, 'sitemapscore', true));
     50    $include_post = ($xml_custom_field !== 'no');
     51    $score_valid = is_numeric($xml_sitemapscore);
    5852
    59     if (is_numeric($xml_sitemapscore)) {
    60       $xml_kontrolle_ob_zahl = '1';
    61     } else {
    62       $xml_kontrolle_ob_zahl = '0';
    63     }
     53    if ($include_post) {
     54      $priority = $score_valid ? esc_html($xml_sitemapscore) : '0.8';
    6455
    65 
    66 
    67     if ($xml_custom_field == 'no') {
    68     } else {
    69 
    70       if ($xml_kontrolle_ob_zahl == '1') {
    71         $sitemap .= '<url>' .
    72           '<loc>' . get_permalink($post->ID) . '</loc>' .
    73           '<lastmod>' . $postdate[0] . '</lastmod>' .
    74           '<changefreq>daily</changefreq>' .
    75           '<priority>' . $xml_sitemapscore . '</priority>' .
    76           /* '<postid>'. $xml_textid . '</postid>'. */
    77           /* '<smap>'. $xml_custom_field . '</smap>'. */
    78           '</url>';
    79       } else {
    80 
    81         $sitemap .= '<url>' .
    82           '<loc>' . get_permalink($post->ID) . '</loc>' .
    83           '<lastmod>' . $postdate[0] . '</lastmod>' .
    84           '<changefreq>daily</changefreq>' .
    85           '<priority>0.8</priority>' .
    86           /* '<postid>'. $xml_textid . '</postid>'. */
    87           /* '<smap>'. $xml_custom_field . '</smap>'. */
    88           '</url>';
    89       }
     56      $sitemap .= '<url>' .
     57        '<loc>' . esc_url(get_permalink($post->ID)) . '</loc>' .
     58        '<lastmod>' . esc_html($postdate[0]) . '</lastmod>' .
     59        '<changefreq>daily</changefreq>' .
     60        '<priority>' . $priority . '</priority>' .
     61        '</url>';
    9062    }
    9163  }
    9264
    93 
    94   /* ADD WP Kategorie */
    95   $sxmlsg_kategorien_view = get_option('sxmlsg_kategorien');
    96 
    97   if ($sxmlsg_kategorien_view == 'Ja') {
    98 
    99     $now = time();
    100     $sxmlsg_kategorien_datum = date("Y-m-d", $now);
    101 
     65  // Kategorien hinzufügen
     66  if (get_option('sxmlsg_kategorien') === 'Ja') {
    10267    $categories = get_categories(array(
    10368      'orderby' => 'name',
     
    10570    ));
    10671
     72    $sxmlsg_kategorien_datum = gmdate("Y-m-d");
    10773
    10874    foreach ($categories as $category) {
    109 
    110 
    11175      $sitemap .= '<url>' .
    112         '<loc>' . get_category_link($category->term_id) . '</loc>' .
    113         '<lastmod>' . $sxmlsg_kategorien_datum . '</lastmod>' .
     76        '<loc>' . esc_url(get_category_link($category->term_id)) . '</loc>' .
     77        '<lastmod>' . esc_html($sxmlsg_kategorien_datum) . '</lastmod>' .
    11478        '<changefreq>daily</changefreq>' .
    11579        '<priority>0.8</priority>' .
    11680        '</url>';
    11781    }
    118 
    119 
    120 
    121 
    122 
    123     /* 
    124 <url>
    125     <loc>$sxmlsg_kategorien_link</loc>
    126     <lastmod>2010-10-11</lastmod>
    127     <changefreq>daily</changefreq>
    128     <priority>0.8</priority>
    129 </url>
    130 */
    13182  }
    132 
    133 
    134 
    13583
    13684  $sitemap .= '</urlset>';
    13785
    138   $fp = fopen(ABSPATH . "sitemap.xml", 'w');
    139   fwrite($fp, $sitemap);
    140   fclose($fp);
     86  // WP_Filesystem verwenden
     87  global $wp_filesystem;
     88
     89  if (empty($wp_filesystem)) {
     90    require_once ABSPATH . 'wp-admin/includes/file.php';
     91    WP_Filesystem();
     92  }
     93
     94  if ($wp_filesystem) {
     95    $sitemap_file = ABSPATH . 'sitemap.xml';
     96
     97    // Sicherstellen, dass das Stammverzeichnis beschreibbar ist
     98    if ($wp_filesystem->is_writable(ABSPATH)) {
     99      $wp_filesystem->put_contents($sitemap_file, $sitemap, FS_CHMOD_FILE);
     100    } else {
     101      error_log('Sitemap-Verzeichnis ist nicht beschreibbar: ' . ABSPATH);
     102    }
     103  } else {
     104    error_log('WP_Filesystem konnte nicht initialisiert werden.');
     105  }
    141106}
     107
    142108add_action("publish_post", "sg_create_sitemap");
    143109add_action("publish_page", "sg_create_sitemap");
    144 /* Ok that's all */
  • simple-xml-sitemap-generator/trunk/languages/simple-xml-sitemap-generator-de_AT.po

    r2788533 r3300104  
    22msgstr ""
    33"Project-Id-Version: Simple XML Sitemap Generator\n"
    4 "POT-Creation-Date: 2022-09-22 09:38+0200\n"
    5 "PO-Revision-Date: 2022-09-22 09:38+0200\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2025-05-25 08:52+0200\n"
     5"PO-Revision-Date: 2025-05-25 08:52+0200\n"
     6"Last-Translator: Eric Mächler <[email protected]>\n"
    77"Language-Team: \n"
    88"Language: de_AT\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: index.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    2423#. Plugin Name of the plugin/theme
    25 #: form.php:10
     24#: form.php:11
    2625msgid "Simple XML Sitemap Generator"
    2726msgstr "Simple XML Sitemap Generator"
    2827
    29 #: form.php:12
     28#: form.php:13
    3029msgid "With this Plugin an XML Sitemap will be generated automatically."
    3130msgstr "Mit diesem Plugin wird automatisch eine XML Sitemap generiert."
    3231
    33 #: form.php:13
     32#: form.php:14
    3433msgid "Installation Manual"
    3534msgstr "Installationsanleitung"
    3635
    37 #: form.php:14
     36#: form.php:15
    3837msgid ""
    3938"At the first installation you just have to refresh or resave a post or page, "
     
    4443"generiert."
    4544
    46 #: form.php:124
     45#: form.php:126
    4746msgid "new setting saved"
    4847msgstr "neue Einstellung gespeichert"
    4948
    50 #: form.php:149
     49#: form.php:150
    5150msgid "Add WordPress post category to the Sitemap?"
    5251msgstr "WordPress-Beitragskategorie zur Sitemap hinzufügen?"
    5352
    54 #: form.php:159 form.php:168 form.php:176
     53#: form.php:159 form.php:164 form.php:169
    5554msgid "No"
    5655msgstr "Nein"
    5756
    58 #: form.php:160 form.php:169 form.php:177
     57#: form.php:160 form.php:165 form.php:170
    5958msgid "Yes"
    6059msgstr "Ja"
    6160
    62 #: form.php:186
     61#: form.php:180
    6362msgid "Save"
    6463msgstr "Speichern"
    6564
    66 #: form.php:196
     65#: form.php:190
    6766msgid "Exclude Post or Pages or WooCommerce Product?"
    6867msgstr ""
     
    7069"sitemap??"
    7170
    72 #: form.php:197
     71#: form.php:191
    7372msgid ""
    7473"You would to to prevent certain Posts or Pages or WooCommerce Product from "
     
    7877"sitemap anzeige ausschliessen?"
    7978
    80 #: form.php:198 form.php:212
     79#: form.php:192 form.php:206
    8180msgid "1. Create  new Custome Field"
    8281msgstr "1. Erstelle ein neues <b>Eigenes Feld</b>"
    8382
    84 #: form.php:199
     83#: form.php:193
    8584msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    8685msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    8786
    88 #: form.php:200
     87#: form.php:194
    8988msgid "3. enter the following text <b>no</b> in the <b>Value</b> field"
    9089msgstr "3. Gib im Feld <b>Wert</b> den Wert <b>no</b> ein"
    9190
    92 #: form.php:201 form.php:216
     91#: form.php:195 form.php:210
    9392msgid "4. save this post or page or woocommerce product"
    9493msgstr "4. speichere nun diesen Beitrag/Seite oder WooCommerce Produkt ab"
    9594
    96 #: form.php:202
     95#: form.php:196
    9796msgid ""
    9897"5. this post / page / or woocommerce product is no longer displayed in your "
     
    102101"sitemap sichtbar"
    103102
    104 #: form.php:210
     103#: form.php:204
    105104msgid "Set sitemap priority value yourself"
    106105msgstr "Setzen Sie den Sitemap Priority Wert selbst"
    107106
    108 #: form.php:211
     107#: form.php:205
    109108msgid "You want to set the priority value yourself in your posts or pages?"
    110109msgstr ""
     
    112111"selber setzen?"
    113112
    114 #: form.php:213
     113#: form.php:207
    115114#, fuzzy
    116115#| msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
     
    119118msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    120119
    121 #: form.php:214
     120#: form.php:208
    122121msgid "3a. now you can add your priority value in the <b>Value</b> field. "
    123122msgstr ""
     
    125124"eingeben. "
    126125
    127 #: form.php:215
     126#: form.php:209
    128127msgid "3b. the value must be between 0 and 1 (exp 0.8) "
    129128msgstr "3b. Der Wert muss zwischen 0 und 1 (Beispiel 0.8) liegen "
    130129
    131 #: form.php:217
     130#: form.php:211
    132131#, fuzzy
    133132#| msgid ""
     
    141140"sitemap sichtbar"
    142141
    143 #: form.php:227
     142#: form.php:221
    144143msgid "Plugin recommendation"
    145144msgstr "Plugin-Empfehlung"
    146145
    147 #: form.php:228
     146#: form.php:222
    148147msgid ""
    149148"if you need are looking for a seo plugin for your wordpress, then I "
     
    153152"dieses Plugin namens \"WP Smart SEO\"."
    154153
    155 #: form.php:229 form.php:232
     154#: form.php:223 form.php:226
    156155msgid "Download:"
    157156msgstr "Herunterladen:"
    158157
    159 #: form.php:231
     158#: form.php:225
    160159msgid ""
    161160"If you want to install google analytics (Universal and GA4), then I "
     
    165164"empfehle ich dieses Plugin \"Quick Google Analytics\"."
    166165
    167 #: form.php:234
     166#: form.php:228
    168167msgid "all 3 plugins work perfectly together"
    169168msgstr "Alle 3 Plugins arbeiten perfekt zusammen"
    170169
    171 #: form.php:238
     170#: form.php:232
    172171msgid "Information"
    173172msgstr "Information"
    174173
    175 #: form.php:239
     174#: form.php:233
    176175msgid ""
    177176"This is the Simple XML Sitemap Generator Plugin for WordPress - created by"
  • simple-xml-sitemap-generator/trunk/languages/simple-xml-sitemap-generator-de_CH.po

    r2788533 r3300104  
    22msgstr ""
    33"Project-Id-Version: Simple XML Sitemap Generator\n"
    4 "POT-Creation-Date: 2022-09-22 09:38+0200\n"
    5 "PO-Revision-Date: 2022-09-22 09:39+0200\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2025-05-25 08:53+0200\n"
     5"PO-Revision-Date: 2025-05-25 08:53+0200\n"
     6"Last-Translator: Eric Mächler <[email protected]>\n"
    77"Language-Team: \n"
    88"Language: de_CH\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: index.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    2423#. Plugin Name of the plugin/theme
    25 #: form.php:10
     24#: form.php:11
    2625msgid "Simple XML Sitemap Generator"
    2726msgstr "Simple XML Sitemap Generator"
    2827
    29 #: form.php:12
     28#: form.php:13
    3029msgid "With this Plugin an XML Sitemap will be generated automatically."
    3130msgstr "Mit diesem Plugin wird automatisch eine XML Sitemap generiert."
    3231
    33 #: form.php:13
     32#: form.php:14
    3433msgid "Installation Manual"
    3534msgstr "Installationsanleitung"
    3635
    37 #: form.php:14
     36#: form.php:15
    3837msgid ""
    3938"At the first installation you just have to refresh or resave a post or page, "
     
    4443"generiert."
    4544
    46 #: form.php:124
     45#: form.php:126
    4746msgid "new setting saved"
    4847msgstr "neue Einstellung gespeichert"
    4948
    50 #: form.php:149
     49#: form.php:150
    5150msgid "Add WordPress post category to the Sitemap?"
    5251msgstr "WordPress-Beitragskategorie zur Sitemap hinzufügen?"
    5352
    54 #: form.php:159 form.php:168 form.php:176
     53#: form.php:159 form.php:164 form.php:169
    5554msgid "No"
    5655msgstr "Nein"
    5756
    58 #: form.php:160 form.php:169 form.php:177
     57#: form.php:160 form.php:165 form.php:170
    5958msgid "Yes"
    6059msgstr "Ja"
    6160
    62 #: form.php:186
     61#: form.php:180
    6362msgid "Save"
    6463msgstr "Speichern"
    6564
    66 #: form.php:196
     65#: form.php:190
    6766msgid "Exclude Post or Pages or WooCommerce Product?"
    6867msgstr ""
     
    7069"sitemap??"
    7170
    72 #: form.php:197
     71#: form.php:191
    7372msgid ""
    7473"You would to to prevent certain Posts or Pages or WooCommerce Product from "
     
    7877"sitemap anzeige ausschliessen?"
    7978
    80 #: form.php:198 form.php:212
     79#: form.php:192 form.php:206
    8180msgid "1. Create  new Custome Field"
    8281msgstr "1. Erstelle ein neues <b>Eigenes Feld</b>"
    8382
    84 #: form.php:199
     83#: form.php:193
    8584msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    8685msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    8786
    88 #: form.php:200
     87#: form.php:194
    8988msgid "3. enter the following text <b>no</b> in the <b>Value</b> field"
    9089msgstr "3. Gib im Feld <b>Wert</b> den Wert <b>no</b> ein"
    9190
    92 #: form.php:201 form.php:216
     91#: form.php:195 form.php:210
    9392msgid "4. save this post or page or woocommerce product"
    9493msgstr "4. speichere nun diesen Beitrag/Seite oder WooCommerce Produkt ab"
    9594
    96 #: form.php:202
     95#: form.php:196
    9796msgid ""
    9897"5. this post / page / or woocommerce product is no longer displayed in your "
     
    102101"sitemap sichtbar"
    103102
    104 #: form.php:210
     103#: form.php:204
    105104msgid "Set sitemap priority value yourself"
    106105msgstr "Setzen Sie den Sitemap Priority Wert selbst"
    107106
    108 #: form.php:211
     107#: form.php:205
    109108msgid "You want to set the priority value yourself in your posts or pages?"
    110109msgstr ""
     
    112111"selber setzen?"
    113112
    114 #: form.php:213
     113#: form.php:207
    115114#, fuzzy
    116115#| msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
     
    119118msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    120119
    121 #: form.php:214
     120#: form.php:208
    122121msgid "3a. now you can add your priority value in the <b>Value</b> field. "
    123122msgstr ""
     
    125124"eingeben "
    126125
    127 #: form.php:215
     126#: form.php:209
    128127#, fuzzy
    129128#| msgid "3b. the value must be between 0 and 10 "
     
    131130msgstr "3b. Der Wert muss zwischen 0 und 1 (Beispiel 0.8) liegen "
    132131
    133 #: form.php:217
     132#: form.php:211
    134133#, fuzzy
    135134#| msgid ""
     
    143142"sitemap sichtbar"
    144143
    145 #: form.php:227
     144#: form.php:221
    146145msgid "Plugin recommendation"
    147146msgstr "Plugin-Empfehlung"
    148147
    149 #: form.php:228
     148#: form.php:222
    150149msgid ""
    151150"if you need are looking for a seo plugin for your wordpress, then I "
     
    155154"dieses Plugin namens \"WP Smart SEO\"."
    156155
    157 #: form.php:229 form.php:232
     156#: form.php:223 form.php:226
    158157msgid "Download:"
    159158msgstr "Herunterladen:"
    160159
    161 #: form.php:231
     160#: form.php:225
    162161msgid ""
    163162"If you want to install google analytics (Universal and GA4), then I "
     
    167166"empfehle ich dieses Plugin \"Quick Google Analytics\"."
    168167
    169 #: form.php:234
     168#: form.php:228
    170169msgid "all 3 plugins work perfectly together"
    171170msgstr "Alle 3 Plugins arbeiten perfekt zusammen"
    172171
    173 #: form.php:238
     172#: form.php:232
    174173msgid "Information"
    175174msgstr "Information"
    176175
    177 #: form.php:239
     176#: form.php:233
    178177msgid ""
    179178"This is the Simple XML Sitemap Generator Plugin for WordPress - created by"
  • simple-xml-sitemap-generator/trunk/languages/simple-xml-sitemap-generator-de_DE.po

    r2788533 r3300104  
    22msgstr ""
    33"Project-Id-Version: Simple XML Sitemap Generator\n"
    4 "POT-Creation-Date: 2022-09-22 09:39+0200\n"
    5 "PO-Revision-Date: 2022-09-22 09:39+0200\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2025-05-25 08:52+0200\n"
     5"PO-Revision-Date: 2025-05-25 08:52+0200\n"
     6"Last-Translator: Eric Mächler <[email protected]>\n"
    77"Language-Team: \n"
    88"Language: de_DE\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: index.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    2423#. Plugin Name of the plugin/theme
    25 #: form.php:10
     24#: form.php:11
    2625msgid "Simple XML Sitemap Generator"
    2726msgstr "Simple XML Sitemap Generator"
    2827
    29 #: form.php:12
     28#: form.php:13
    3029msgid "With this Plugin an XML Sitemap will be generated automatically."
    3130msgstr "Mit diesem Plugin wird automatisch eine XML Sitemap generiert."
    3231
    33 #: form.php:13
     32#: form.php:14
    3433msgid "Installation Manual"
    3534msgstr "Installationsanleitung"
    3635
    37 #: form.php:14
     36#: form.php:15
    3837msgid ""
    3938"At the first installation you just have to refresh or resave a post or page, "
     
    4443"generiert."
    4544
    46 #: form.php:124
     45#: form.php:126
    4746msgid "new setting saved"
    4847msgstr "neue Einstellung gespeichert"
    4948
    50 #: form.php:149
     49#: form.php:150
    5150msgid "Add WordPress post category to the Sitemap?"
    5251msgstr "WordPress-Beitragskategorie zur Sitemap hinzufügen?"
    5352
    54 #: form.php:159 form.php:168 form.php:176
     53#: form.php:159 form.php:164 form.php:169
    5554msgid "No"
    5655msgstr "Nein"
    5756
    58 #: form.php:160 form.php:169 form.php:177
     57#: form.php:160 form.php:165 form.php:170
    5958msgid "Yes"
    6059msgstr "Ja"
    6160
    62 #: form.php:186
     61#: form.php:180
    6362msgid "Save"
    6463msgstr "Speichern"
    6564
    66 #: form.php:196
     65#: form.php:190
    6766msgid "Exclude Post or Pages or WooCommerce Product?"
    6867msgstr ""
     
    7069"sitemap??"
    7170
    72 #: form.php:197
     71#: form.php:191
    7372msgid ""
    7473"You would to to prevent certain Posts or Pages or WooCommerce Product from "
     
    7877"sitemap anzeige ausschliessen?"
    7978
    80 #: form.php:198 form.php:212
     79#: form.php:192 form.php:206
    8180msgid "1. Create  new Custome Field"
    8281msgstr "1. Erstelle ein neues <b>Eigenes Feld</b>"
    8382
    84 #: form.php:199
     83#: form.php:193
    8584msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    8685msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    8786
    88 #: form.php:200
     87#: form.php:194
    8988msgid "3. enter the following text <b>no</b> in the <b>Value</b> field"
    9089msgstr "3. Gib im Feld <b>Wert</b> den Wert <b>no</b> ein"
    9190
    92 #: form.php:201 form.php:216
     91#: form.php:195 form.php:210
    9392msgid "4. save this post or page or woocommerce product"
    9493msgstr "4. speichere nun diesen Beitrag/Seite oder WooCommerce Produkt ab"
    9594
    96 #: form.php:202
     95#: form.php:196
    9796msgid ""
    9897"5. this post / page / or woocommerce product is no longer displayed in your "
     
    102101"sitemap sichtbar"
    103102
    104 #: form.php:210
     103#: form.php:204
    105104msgid "Set sitemap priority value yourself"
    106105msgstr "Setzen Sie den Sitemap Priority Wert selbst"
    107106
    108 #: form.php:211
     107#: form.php:205
    109108msgid "You want to set the priority value yourself in your posts or pages?"
    110109msgstr ""
     
    112111"selber setzen?"
    113112
    114 #: form.php:213
     113#: form.php:207
    115114#, fuzzy
    116115#| msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
     
    119118msgstr "2. Gib im Feld <b>Name</b> den Wert <b>sitemap</b> ein"
    120119
    121 #: form.php:214
     120#: form.php:208
    122121msgid "3a. now you can add your priority value in the <b>Value</b> field. "
    123122msgstr ""
     
    125124"eingeben "
    126125
    127 #: form.php:215
     126#: form.php:209
    128127msgid "3b. the value must be between 0 and 1 (exp 0.8) "
    129128msgstr "3b. Der Wert muss zwischen 0 und 1 (Beispiel 0.8) "
    130129
    131 #: form.php:217
     130#: form.php:211
    132131#, fuzzy
    133132#| msgid ""
     
    141140"sitemap sichtbar"
    142141
    143 #: form.php:227
     142#: form.php:221
    144143msgid "Plugin recommendation"
    145144msgstr "Plugin-Empfehlung"
    146145
    147 #: form.php:228
     146#: form.php:222
    148147msgid ""
    149148"if you need are looking for a seo plugin for your wordpress, then I "
     
    153152"dieses Plugin namens \"WP Smart SEO\"."
    154153
    155 #: form.php:229 form.php:232
     154#: form.php:223 form.php:226
    156155msgid "Download:"
    157156msgstr "Herunterladen:"
    158157
    159 #: form.php:231
     158#: form.php:225
    160159msgid ""
    161160"If you want to install google analytics (Universal and GA4), then I "
     
    165164"empfehle ich dieses Plugin \"Quick Google Analytics\"."
    166165
    167 #: form.php:234
     166#: form.php:228
    168167msgid "all 3 plugins work perfectly together"
    169168msgstr "Alle 3 Plugins arbeiten perfekt zusammen"
    170169
    171 #: form.php:238
     170#: form.php:232
    172171msgid "Information"
    173172msgstr "Information"
    174173
    175 #: form.php:239
     174#: form.php:233
    176175msgid ""
    177176"This is the Simple XML Sitemap Generator Plugin for WordPress - created by"
  • simple-xml-sitemap-generator/trunk/languages/simple-xml-sitemap-generator-en_US.po

    r2788533 r3300104  
    22msgstr ""
    33"Project-Id-Version: Simple XML Sitemap Generator\n"
    4 "POT-Creation-Date: 2022-09-22 09:39+0200\n"
    5 "PO-Revision-Date: 2022-09-22 09:39+0200\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2025-05-25 08:53+0200\n"
     5"PO-Revision-Date: 2025-05-25 08:53+0200\n"
     6"Last-Translator: Eric Mächler <[email protected]>\n"
    77"Language-Team: \n"
    88"Language: en_US\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: index.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    2423#. Plugin Name of the plugin/theme
    25 #: form.php:10
     24#: form.php:11
    2625msgid "Simple XML Sitemap Generator"
    2726msgstr "Simple XML Sitemap Generator"
    2827
    29 #: form.php:12
     28#: form.php:13
    3029msgid "With this Plugin an XML Sitemap will be generated automatically."
    3130msgstr "With this Plugin an XML Sitemap will be generated automatically."
    3231
    33 #: form.php:13
     32#: form.php:14
    3433msgid "Installation Manual"
    3534msgstr "Installation Manual"
    3635
    37 #: form.php:14
     36#: form.php:15
    3837msgid ""
    3938"At the first installation you just have to refresh or resave a post or page, "
     
    4342"and after that your xml file is generated."
    4443
    45 #: form.php:124
     44#: form.php:126
    4645msgid "new setting saved"
    4746msgstr "new setting saved"
    4847
    49 #: form.php:149
     48#: form.php:150
    5049msgid "Add WordPress post category to the Sitemap?"
    5150msgstr "Add WordPress post category to the Sitemap?"
    5251
    53 #: form.php:159 form.php:168 form.php:176
     52#: form.php:159 form.php:164 form.php:169
    5453msgid "No"
    5554msgstr "No"
    5655
    57 #: form.php:160 form.php:169 form.php:177
     56#: form.php:160 form.php:165 form.php:170
    5857msgid "Yes"
    5958msgstr "Yes"
    6059
    61 #: form.php:186
     60#: form.php:180
    6261msgid "Save"
    6362msgstr "Save"
    6463
    65 #: form.php:196
     64#: form.php:190
    6665msgid "Exclude Post or Pages or WooCommerce Product?"
    6766msgstr "Exclude Post or Pages or WooCommerce Product?"
    6867
    69 #: form.php:197
     68#: form.php:191
    7069msgid ""
    7170"You would to to prevent certain Posts or Pages or WooCommerce Product from "
     
    7574"being displayed in the xml sitemap?"
    7675
    77 #: form.php:198 form.php:212
     76#: form.php:192 form.php:206
    7877msgid "1. Create  new Custome Field"
    7978msgstr "1. Create  new Custome Field"
    8079
    81 #: form.php:199
     80#: form.php:193
    8281msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    8382msgstr "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    8483
    85 #: form.php:200
     84#: form.php:194
    8685msgid "3. enter the following text <b>no</b> in the <b>Value</b> field"
    8786msgstr "3. enter the following text <b>no</b> in the <b>Value</b> field"
    8887
    89 #: form.php:201 form.php:216
     88#: form.php:195 form.php:210
    9089msgid "4. save this post or page or woocommerce product"
    9190msgstr "4. save this post or page or woocommerce product"
    9291
    93 #: form.php:202
     92#: form.php:196
    9493msgid ""
    9594"5. this post / page / or woocommerce product is no longer displayed in your "
     
    9998"xml sitemap"
    10099
    101 #: form.php:210
     100#: form.php:204
    102101msgid "Set sitemap priority value yourself"
    103102msgstr "Set sitemap priority value yourself"
    104103
    105 #: form.php:211
     104#: form.php:205
    106105msgid "You want to set the priority value yourself in your posts or pages?"
    107106msgstr "You want to set the priority value yourself in your posts or pages?"
    108107
    109 #: form.php:213
     108#: form.php:207
    110109#, fuzzy
    111110#| msgid "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
     
    114113msgstr "2. enter the following text <b>sitemap</b> in the <b>Name</b> field"
    115114
    116 #: form.php:214
     115#: form.php:208
    117116msgid "3a. now you can add your priority value in the <b>Value</b> field. "
    118117msgstr "3a. now you can add your priority value in the <b>Value</b> field. "
    119118
    120 #: form.php:215
     119#: form.php:209
    121120msgid "3b. the value must be between 0 and 1 (exp 0.8) "
    122121msgstr "3b. the value must be between 0 und 1 (Beispiel 0.8) "
    123122
    124 #: form.php:217
     123#: form.php:211
    125124#, fuzzy
    126125#| msgid ""
     
    134133"xml sitemap"
    135134
    136 #: form.php:227
     135#: form.php:221
    137136msgid "Plugin recommendation"
    138137msgstr "Plugin recommendation"
    139138
    140 #: form.php:228
     139#: form.php:222
    141140msgid ""
    142141"if you need are looking for a seo plugin for your wordpress, then I "
     
    146145"recommend this plugin called \"WP Smart SEO\"."
    147146
    148 #: form.php:229 form.php:232
     147#: form.php:223 form.php:226
    149148msgid "Download:"
    150149msgstr "Download:"
    151150
    152 #: form.php:231
     151#: form.php:225
    153152msgid ""
    154153"If you want to install google analytics (Universal and GA4), then I "
     
    158157"recommend this plugin \"Quick Google Analytics\"."
    159158
    160 #: form.php:234
     159#: form.php:228
    161160msgid "all 3 plugins work perfectly together"
    162161msgstr "all 3 plugins work perfectly together"
    163162
    164 #: form.php:238
     163#: form.php:232
    165164msgid "Information"
    166165msgstr "Information"
    167166
    168 #: form.php:239
     167#: form.php:233
    169168msgid ""
    170169"This is the Simple XML Sitemap Generator Plugin for WordPress - created by"
  • simple-xml-sitemap-generator/trunk/readme.txt

    r3274255 r3300104  
    33Donate link: http://www.chefblogger.me
    44Tags: XML, Sitemap, Simple Sitemap, Generator, Sitemap Generator
    5 Version: 2.3
    6 Requires at least: 3.0.1
     5Version: 2.4
     6Requires at least: 4.0
    77Tested up to: 6.8
    8 Stable tag: 2.3
     8Stable tag: 2.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.