Recently the blog Park discussion atmosphere, valuable comments are also emerging. Sometimes we would like to subscribe to the comments of an article RSS, but unfortunately the blog Park currently does not have this feature. For registered users, we can click on the "Subscribe to reply" link below the comment box, so that we will receive the email when the new comment appears. Unfortunately, anonymous users, have to constantly refresh to focus on the recent discussion of where. But who are we? We are programmers, and this obstacle should be a simple little thing for us. Build your own site, get page data, analyze HTML, output for RSS, so simple. Lao Zhao has made a very simple example of this, and can subscribe to the comments of any article on http://jeffreyzhao.cnblogs.com. Because it's just a simple personal tool program, it doesn't take into account performance, scalability, scalability, fault tolerance, or "best practices" like any unit test, dependency injection, etc. In short a word, how easy how to come. This example consists of two parts, the first part is a static HTML page, generated from the article URL and turned to its RSS link. A handful of lines of HTML
1. Manually generate comment RSS code instances
Introduction: The recent Blog Park discussion atmosphere is enthusiastic, valuable commentary also endless. Sometimes we would like to subscribe to the comments of an article RSS, but unfortunately the blog Park currently does not have this feature. For registered users, we can click on the "Subscribe to reply" link below the comment box, so that we will receive the email when the new comment appears. Unfortunately, anonymous users, have to constantly refresh to focus on the recent discussion of where.
2. PHP gets the value of the form's single-click button and check box
Summary: Radio button Radio is generally a group of a group of occurrences, with the same name value and different value values, in a set of radio buttons, only one of the same time may be selected.
3. PHP based on websocket implementation of real-time front and back-end push
Profile: Register an account on the Goeasy website and create a new app. After the app is created, the system automatically generates two keys for the app, one that can be used for both receiving and pushing (supper key), and the other to receive (Subscriber key).
4. HTML implementation of restricted IP voting site cheat scheme
Introduction: Many voting classes of the site can not be repeated voting, mainly to limit the IP, an IP can only vote once, the following we look at the use of HTML to implement the restriction of IP voting site cheat scheme, the need for friends can refer to the next
5. The Range object of the API
Summary: Range object: is a fragment (HTML fragment) that contains a node or part of a text node. In general, the same time page may only
6. Detailed the Let command in ES6
Summary: Let is a new copy command inside the ES6, so the Allow assignment command can only be called in the {} code block. This article mainly introduces the Let command in ES6, the need for friends can refer to the following
7. Full access to SQL syntax (5)
Introduction: Between ... The AND operator determines whether a person's value falls within a specific range, and this operator can only be used in SQL statements.
8. PHP output String (echo,print,printf,print_r,var_dump) Java printf printf D printf Source code
Summary: Output string in printf:php (echo,print,printf,print_r,var_dump): There are four ways to output strings in PHP. The ECHO structure can output multiple at a time; print () can only output one; printf () can format the output; Print_r () can output an array, which is good for debugging. 1. Echo Echo is a keyword in PHP that does not return. In the notation, it can omit parentheses. The following code: Echo ' Test String '; Echo (' Test String '); 2.print Print is also one of the PHP
9. File Upload PHP image file upload implementation code
Introduction: File Upload: File upload php image file Upload implementation code: For the security of the website, certainly do not let upload php files, if someone into your backstage, upload a php file, your website source code, all saved into his, directly packaged to see your code. So be sure to control the upload directory and file type, generally only upload pictures. It is useful to create a file upload form that allows users to upload files from a form. Take a look at the following HTML form for uploading files: Copy code code as follows:
powerpoint2003 official Download free full version php understanding print EoT delimiter and echo eot usage difference Summary
Introduction: powerpoint2003 Official Download free full version: powerpoint2003 official download free full version php understanding print EoT delimiter and echo EOT usage difference summary: HTML and PHP Writing in the echo can simultaneously output multiple strings, No parentheses are required. Print can only output one string at a time, requiring parentheses. Print is used in a very similar way to the C language, so there is a special explanation for the% in the output content. ECHO has no return value, print () has a return value, and returns Flase when its execution fails, such as a broken wire. Echo can have multiple parameters, print one parameter. Recommended with Echo.
"Related question and answer recommendation":
Javascript-mobiscrol the date limit, for example, can only choose the time within 5 days, ask the big guy to explore
Php-yii custom rules, parameter passing
Python-flask How to extract the pictures in the article displayed on the homepage?
JavaScript-How to monitor viewport changes in real-time with jquery (the viewport width changes immediately to input)
Objective-c-Ali empty iOS SDK How to get all Groups list