Dear reader of SoftMaker.kz blog. As you may know, today many people want to have access to local network computers (LAN) or Internet. Also, many would like to know how to write programs in order to work in a local network (LAN) or Internet. One post from this series has already explained, How to get external IP address using Delphi software. Today we will consider another one of the most interesting tasks; this is getting an IP address of a computer connected to a local network (LAN).
Read more
Dear readers of SoftMaker.kz blog. Today I would like to represent a program that helps me to get IP address of my router KEENETIC, in russian without using pay or any other services. A code of the program is based on what described in the post How to get external IP address using Delphi software. Another post of this series describes, how to get computer IP address in a local network using Delphi.
Read moreDear Visitors of Our Blog! Today I’d like to tell you what HTML rich text editor NicEdit is. Today I’d like to tell you what HTML rich text editor NicEdit is. NicEdit allow you to easily edit pages on your website (for example in firefox). Need help implementing NicEdit into your website? In the article How to install HTML Editor NicEdit? we explain in details how to do it. NicEdit quickly is integrated through JavaScript into any website. You can convert textarea tag to rich text editing.
Read more
Dear visitors! This article will help understand how to read all values of Edit dialogue elements from the window of another application using Delphi and WinAPI functions. We will use WinAPI functions to get the Edit class dialogue elements. For instance, we need to get Edit values from the form with the title “MyProgram”, so we will use the WinAPI function FindWindow.
Read more
Dear visitors of the blog SoftMaker.kz. Today I would like to discuss how to insert a code of context advertisement in
the body of articles using the PHP language (ru).
- Some rules of placing advertisement in the body of articles
- Inserting an ad between paragraphs of the article
- A function for replacing a tag <!–advertisement–> in the body of the article
- Combining methods of ads insertion in the body of the articles for achieving the best results
Some rules of placing advertisement in the body of articles
- It is no good when there are too many ads in the body of the article and it complicates the reading.
- Also it is not convenient when the advertisement code goes right under the title of the article and it’s hard to understand where the title and the advertisement code are. After the article’s title an ad should be inserted at least between two first paragraphs.
- You don’t want to insert the ad in the center of the paragraph thus breaking it into two parts. It’s better to insert a context ad between the paragraphs.
- It would be good if ad blocks are separated by one thousand or more characters.
Inserting an ad between paragraphs of the article
In order to insert a block of context ad , it is necessary to determine places for advertisement block in the body of article using the rules described above. In harmony with these rules, this is a space between the paragraphs. How to get the needed values which will indicate such places between the paragraphs?
Categories
SoftMaker — All rights reserved
Mastering Async/Await: Elevate Your JavaScript Skills19.04.2025 - 12:20Master async/await in JavaScript to write cleaner, more maintainable code. Understand its mechanics and avoid common pitfalls.
SoftMakerKz
Why Doesn’t a Node.js Process Terminate?01.10.2024 - 16:40Learn why a Node.js process doesn’t terminate automatically and how the event loop works.
Recent Comments