RSS и Blog Submissions

Добавяне на динамичен RSS в блога




Код:
#!/usr/bin/perl

#      (c) Valentin Stoykov [url]http://vstoykov.hit.bg/[/url]

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or 
# (at your option) any later version.

# This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the
# Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA02111-1307, USA.

use locale;
use encoding 'utf8';
use utf8;
use Encode;

use strict;
use POSIX;

my $how_many_random_news=5;

my $data = <<END_OF_DATA;
[url]http://data-protection-recovery-service.blogspot.com/2007/12/bacula-network-backup-solution.html[/url] Bacula – a network backup solution
[url]http://data-protection-recovery-service.blogspot.com/2007/12/bcrypt-lightweight-blowfish-file.html[/url] bcrypt: A lightweight blowfish file encryption utility
[url]http://data-protection-recovery-service.blogspot.com/2007/12/bcwipe-securely-erase-data-from.html[/url] BCWipe: Securely erase data from magnetic and solid-state memory
[url]http://data-protection-recovery-service.blogspot.com/2007/12/bru-backup-solution-for-linux-and-unix.html[/url] BRU: a backup solution for Linux and UNIX
[url]http://data-protection-recovery-service.blogspot.com/2007/12/clam-antivirus.html[/url] Clam AntiVirus
[url]http://data-protection-recovery-service.blogspot.com/2007/12/dariks-boot-and-nuke-boot-floppy-that.html[/url] Darik's Boot and Nuke: A boot floppy that wipes hard disks
[url]http://data-protection-recovery-service.blogspot.com/2007/12/data-recovery-tips.html[/url] Data Recovery Tips
[url]http://data-protection-recovery-service.blogspot.com/2007/12/ddrescue-block-copier-which-ignores.html[/url] dd_rescue - a block copier, which ignores errors
[url]http://data-protection-recovery-service.blogspot.com/2007/12/ddrhelp-quick-and-easy-data-recovery.html[/url] dd_rhelp: a quick and easy data recovery manager
[url]http://data-protection-recovery-service.blogspot.com/2007/12/fire-f-orensic-and-i-ncident-r-esponse.html[/url] A forensic and incident response bootable CD and security tools
[url]http://data-protection-recovery-service.blogspot.com/2007/12/get-it-i-say-file-recovery-tool-for.html[/url] gET iT i sAY: A file recovery tool for Ext3 and Ext2
[url]http://data-protection-recovery-service.blogspot.com/2007/12/gnu-ddrescue-data-recovery-tool.html[/url] GNU ddrescue – a data recovery tool
[url]http://data-protection-recovery-service.blogspot.com/2007/12/gzip-recovery-toolkit-attempts-recovery.html[/url] gzip Recovery Toolkit: Attempts recovery on corrupted .gz and .tar files
[url]http://data-protection-recovery-service.blogspot.com/2007/12/mondo-rescue-gpl-disaster-recovery.html[/url] Mondo Rescue - GPL disaster recovery solution
[url]http://data-protection-recovery-service.blogspot.com/2007/12/parchive-tool-that-helps-data-recovery.html[/url] Parchive: a tool that helps data recovery of multi-part archives on Usenet
[url]http://data-protection-recovery-service.blogspot.com/2007/12/re-source-hardware.html[/url] Re-Source Hardware
[url]http://data-protection-recovery-service.blogspot.com/2007/12/restore-enterprise-and-data-center.html[/url] RESTORE - an enterprise and Data Center backup and data restore solution
[url]http://data-protection-recovery-service.blogspot.com/2007/12/restoring-data-inc.html[/url] ReStoring Data Inc.
[url]http://data-protection-recovery-service.blogspot.com/2007/12/safecopy-commandline-data-recovery-tool.html[/url] Safecopy: A Commandline Data Recovery Tool
[url]http://data-protection-recovery-service.blogspot.com/2007/12/sagator-email-antivirusantispam-gateway.html[/url] SAGATOR: An email antivirus/antispam gateway for any smtpd
[url]http://data-protection-recovery-service.blogspot.com/2007/12/scratch-busters-to-restore-cddvd.html[/url] Scratch Busters to restore CD/DVD
[url]http://data-protection-recovery-service.blogspot.com/2007/12/scrounge-ntfs-data-recovery-program-for.html[/url] Scrounge NTFS - a data recovery program for NTFS filesystems
[url]http://data-protection-recovery-service.blogspot.com/2007/12/seagate-recovery-services.html[/url] Seagate Recovery Services
[url]http://data-protection-recovery-service.blogspot.com/2007/12/sector-logics-inc.html[/url] Sector Logics Inc
[url]http://data-protection-recovery-service.blogspot.com/2007/12/sos-hd-data-recovery.html[/url] SOS HD Data Recovery
[url]http://data-protection-recovery-service.blogspot.com/2007/12/southwest-stars.html[/url] Southwest Stars
[url]http://data-protection-recovery-service.blogspot.com/2007/12/squidclamav-clamav-antivirus-redirector.html[/url] SquidClamAv: a ClamAV antivirus redirector for Squid
[url]http://data-protection-recovery-service.blogspot.com/2007/12/testdisk-free-and-open-source-data.html[/url] TestDisk: free and open source data recovery software
[url]http://data-protection-recovery-service.blogspot.com/2007/12/toba-data-recovery.html[/url] Toba Data Recovery
[url]http://data-protection-recovery-service.blogspot.com/2007/12/wipe-tool-that-offers-secure-deletion.html[/url] WIPE - a tool that offers secure deletion of files from magnetic media
[url]http://data-protection-recovery-service.blogspot.com/2007/12/zeroer-command-line-utility-for-wiping.html[/url] zeroer: A command line utility for wiping unallocated space on a filesystem
[url]http://data-protection-recovery-service.blogspot.com/2008/01/rsync-gui.html[/url] A GUI for rsync using GTK
[url]http://hardware-electronics-news.blogspot.com/2006/01/fox-electronics-now-offers-expanded.html[/url] FD crystals datasheet
[url]http://hardware-electronics-news.blogspot.com/2006/01/fox-electronics-now-offers-expanded.html[/url] Fox Electronics now offers expanded range of low-profile, high-frequency fundamental mode quartz crystals
[url]http://hardware-electronics-news.blogspot.com/2006/01/fox-electronics-now-offers-expanded.html[/url] High-frequency fundamental mode SMD quartz crystals
[url]http://hardware-electronics-news.blogspot.com/2006/02/fox-electronics-introduces-cost.html[/url] 32.768kHz surface mount cost-effective miniature tuning fork
[url]http://hardware-electronics-news.blogspot.com/2006/02/fox-electronics-introduces-cost.html[/url] Cost-effective miniature tuning fork
[url]http://hardware-electronics-news.blogspot.com/2006/02/fox-electronics-introduces-cost.html[/url] Fox Electronics introduces cost-effective miniature tuning fork
[url]http://hardware-electronics-news.blogspot.com/2006/02/fox-electronics-introduces-cost.html[/url] FX135A tuning fork
[url]http://hardware-electronics-news.blogspot.com/2006/02/fox-electronics-introduces-cost.html[/url] FX135B tuning fork
[url]http://hardware-electronics-news.blogspot.com/2006/07/new-configurable-oscillators-from-fox.html[/url] New configurable oscillators from Fox provide fixed frequency electrical performance at a lower price
[url]http://hardware-electronics-news.blogspot.com/2006/09/new-low-cost-oscillators-provide-low.html[/url] High performance XpressO oscillators
[url]http://hardware-electronics-news.blogspot.com/2006/09/new-low-cost-oscillators-provide-low.html[/url] LVDS and LVPECL oscillators
[url]http://hardware-electronics-news.blogspot.com/2006/09/new-low-cost-oscillators-provide-low.html[/url] New low-cost oscillators provide low jitter and enhanced performance
[url]http://hardware-electronics-news.blogspot.com/2006/10/new-half-size-ocxo-provides-extreme.html[/url] FHS501AH oscillator datasheet
[url]http://hardware-electronics-news.blogspot.com/2006/10/new-half-size-ocxo-provides-extreme.html[/url] New Half-Size OCXO provides extreme stability for portable devices
[url]http://hardware-electronics-news.blogspot.com/2007/01/mueller-electric-company-inc.html[/url] Board to board connectors
[url]http://hardware-electronics-news.blogspot.com/2007/01/mueller-electric-company-inc.html[/url] Electric test clips
[url]http://hardware-electronics-news.blogspot.com/2007/01/mueller-electric-company-inc.html[/url] Insulator boots
[url]http://hardware-electronics-news.blogspot.com/2007/01/mueller-electric-company-inc.html[/url] Mueller Electric Company Inc.
[url]http://hardware-electronics-news.blogspot.com/2007/01/mueller-electric-company-inc.html[/url] Test leads
[url]http://hardware-electronics-news.blogspot.com/2007/02/voltage-controlled-crystal-oscillators.html[/url] New, Low-Jitter voltage controlled crystal oscillators allow more data to be transmitted
[url]http://hardware-electronics-news.blogspot.com/2007/02/voltage-controlled-crystal-oscillators.html[/url] XpressO family of VCXO oscillators datasheets
[url]http://hardware-electronics-news.blogspot.com/2007/03/new-ocxo-for-wimax-base-station_19.html[/url] FTS310 datasheet
[url]http://hardware-electronics-news.blogspot.com/2007/03/new-ocxo-for-wimax-base-station_19.html[/url] HCMOS, 14-pin DIP OCXO (Oven Controlled Crystal Oscillator)
[url]http://hardware-electronics-news.blogspot.com/2007/03/new-ocxo-for-wimax-base-station_19.html[/url] New OCXO for WiMax Base Station Applications
[url]http://hardware-electronics-news.blogspot.com/2007/03/new-ocxo-for-wimax-base-station.html[/url] FTS310 datasheet
[url]http://hardware-electronics-news.blogspot.com/2007/03/new-ocxo-for-wimax-base-station.html[/url] New OCXO for WiMax Base Station Applications
[url]http://hardware-electronics-news.blogspot.com/2007/08/low-current-oscillators-from-fox-extend.html[/url] F330A and F530LA oscillators datasheets
[url]http://hardware-electronics-news.blogspot.com/2007/08/low-current-oscillators-from-fox-extend.html[/url] Fox's RoHS compliant F330A and F530LA oscillators
[url]http://hardware-electronics-news.blogspot.com/2007/08/low-current-oscillators-from-fox-extend.html[/url] Low Current Oscillators From Fox Extend Battery Life In Portable Applications
[url]http://hardware-electronics-news.blogspot.com/2007/09/avxs-high-reliability-catalog.html[/url] AVX’s high-reliability catalog highlights expanded product offering
[url]http://hardware-electronics-news.blogspot.com/2007/09/avxs-high-reliability-catalog.html[/url] Download AVX’s High Reliability catalog
[url]http://hardware-electronics-news.blogspot.com/2007/09/littelfuse-introduces-industrys-first.html[/url] 456 Series fuse offers high-amp circuit protection in a tiny package compatible with faster pick and place electronics assembly processes
[url]http://hardware-electronics-news.blogspot.com/2007/09/littelfuse-introduces-industrys-first.html[/url] Littelfuse Introduces Industry’s First 125V Subminiature Surface Mount Fuse with Current Rating Above 15A
[url]http://hardware-electronics-news.blogspot.com/2007/10/avx-delivers-low-esr-and-fused-tantalum.html[/url] AVX delivers low ESR and fused tantalum capacitors for mission critical applications
[url]http://hardware-electronics-news.blogspot.com/2007/10/avx-delivers-low-esr-and-fused-tantalum.html[/url] Low ESR and fused tantalum capacitors
[url]http://hardware-electronics-news.blogspot.com/2007/10/microchip-technology-introduces-li.html[/url] charge-management controllers
[url]http://hardware-electronics-news.blogspot.com/2007/10/microchip-technology-introduces-li.html[/url] MCP73837 and MCP73838 dual-input, high-current Li-Ion/Polymer charge-management controllers
[url]http://hardware-electronics-news.blogspot.com/2007/10/microchip-technology-introduces-li.html[/url] Microchip Technology Introduces Li-Ion/Li-Polymer Chargers With Auto USB or AC Power-Source Selection
[url]http://hardware-electronics-news.blogspot.com/2007/11/avxs-mobo-compression-interconnect.html[/url] AVX’s mobo compression interconnect catalog highlights expanded product offering
[url]http://hardware-electronics-news.blogspot.com/2007/11/avxs-mobo-compression-interconnect.html[/url] Download MOBO catalog (mobocat.pdf)
[url]http://hardware-electronics-news.blogspot.com/2007/11/microchip-technology-adds-more-flash.html[/url] Microchip Technology Adds More Flash Memory to the World’s Smallest Low Cost Digital Signal Controllers
[url]http://hardware-electronics-news.blogspot.com/2007/11/microchip-technology-adds-more-flash.html[/url] Six New dsPIC33F Low Pin Count Digital Signal Controllers
[url]http://hardware-electronics-news.blogspot.com/2007/12/avx-releases-new-tantalumoxicap.html[/url] AVX releases new tantalum/oxicap capacitor simulation software
[url]http://hardware-electronics-news.blogspot.com/2007/12/avx-releases-new-tantalumoxicap.html[/url] Download the SpiTan II V 1.5 software
[url]http://hardware-electronics-news.blogspot.com/2007/12/avx-releases-new-tantalumoxicap.html[/url] SpiTanII V 1.5 details hundreds of new parts
[url]http://hardware-electronics-news.blogspot.com/2007/12/avxs-tantalum-capacitors-address.html[/url] AVX’s tantalum capacitors address embedded systems applications
[url]http://hardware-electronics-news.blogspot.com/2007/12/lt3518-45v-13a23a-led-drivers-for-boost.html[/url] LT3518: 45V, 1.3A/2.3A LED Drivers for Boost, Buck or Buck-Boost High Current LED Applications
[url]http://hardware-electronics-news.blogspot.com/2007/12/lt3742-dual-output-high-output-voltage.html[/url] High Output Voltage Dual Output 100% Duty Cycle Step-Down or Current Source DC/DC Controller
[url]http://hardware-electronics-news.blogspot.com/2007/12/lt3742-dual-output-high-output-voltage.html[/url] LT3742 datasheet
[url]http://hardware-electronics-news.blogspot.com/2007/12/lt3742-dual-output-high-output-voltage.html[/url] LT3742: Dual Output 100% Duty Cycle High Output Voltage Step-Down or Current Source DC/DC Controller
[url]http://hardware-electronics-news.blogspot.com/2007/12/ltc2753-16-dual-16-bit-current-output.html[/url] LTC2753-16: Dual 16-Bit Current Output DAC Provides Six Unique Software Programmable Output Ranges, ±1LSB INL & DNL
[url]http://hardware-electronics-news.blogspot.com/2007/12/ltc285xh-rs422rs485-transceivers.html[/url] LTC285xH: RS422/RS485 Transceivers Guaranteed over High Temperatures for Automotive Applications
[url]http://hardware-electronics-news.blogspot.com/2007/12/ltc6652-5ppmc-voltage-reference.html[/url] LTC6652: 5ppm/°C Voltage Reference Features Very Low Noise
[url]http://hardware-electronics-news.blogspot.com/2007/12/tantalum-and-oxicap-capacitors-deliver.html[/url] Tantalum and Oxicap® capacitors deliver the gold standard for audio applications
[url]http://hardware-electronics-news.blogspot.com/2008/01/1-image-stabilizer-for-any-camera.html[/url] $1 Image Stabilizer For Any Camera
[url]http://hardware-electronics-news.blogspot.com/2008/01/1-image-stabilizer-for-any-camera.html[/url] Cheap image stabilizer video
[url]http://hardware-electronics-news.blogspot.com/2008/01/all-quartz-smd-crystal-series-to.html[/url] All-Quartz SMD Crystal Series to Include 3.2 mm x 2.5 mm Package Size
[url]http://hardware-electronics-news.blogspot.com/2008/01/all-quartz-smd-crystal-series-to.html[/url] FQ3225B datasheet
[url]http://hardware-electronics-news.blogspot.com/2008/01/atlantese-ales-representative.html[/url] Atlantese - sales representative organisation specialising in RF and Microwave devices, components, antenna assemblies, and systems and subsystems
[url]http://hardware-electronics-news.blogspot.com/2008/01/cascade-two-decade-counters-to-obtain.html[/url] EDN's Design Ideas: Cascade two decade counters to obtain 19-step sequential counter
[url]http://hardware-electronics-news.blogspot.com/2008/01/depletion-mode-mosfet-kick-starts-power.html[/url] EDN's Design Ideas: Depletion-mode MOSFET kick-starts power supply
[url]http://hardware-electronics-news.blogspot.com/2008/01/edns-design-ideas-dual-input-sample-and.html[/url] EDN's Design Ideas: Dual-input sample-and-hold amplifier uses no external resistors
[url]http://hardware-electronics-news.blogspot.com/2008/01/en-genius-network.html[/url] EN-Genius Network
[url]http://hardware-electronics-news.blogspot.com/2008/01/high-speed-clamp-functions-as-pulse.html[/url] EDN's Design Ideas: High-speed clamp functions as pulse-forming circuit
[url]http://hardware-electronics-news.blogspot.com/2008/01/how-to-make-pcb-videos.html[/url] How to make PCB videos
[url]http://hardware-electronics-news.blogspot.com/2008/01/how-to-make-pcb-videos.html[/url] Videos: How to make PCB
[url]http://hardware-electronics-news.blogspot.com/2008/01/improved-optocoupler-circuits-reduce.html[/url] EDN's Design Ideas: Improved optocoupler circuits reduce current draw, resist LED aging
[url]http://hardware-electronics-news.blogspot.com/2008/01/input-clock-adjusts-frequency-of.html[/url] Input Clock Adjusts Frequency Of Digital Ramp Generator
[url]http://hardware-electronics-news.blogspot.com/2008/01/linear-technology-corporation.html[/url] Linear Technology Corporation
[url]http://hardware-electronics-news.blogspot.com/2008/01/littelfuse-expands-tvs-diode-product.html[/url] Littelfuse expands TVS diode product line
[url]http://hardware-electronics-news.blogspot.com/2008/01/littelfuse-expands-tvs-diode-product.html[/url] New higher power and lower capacitance TVS diodes
[url]http://hardware-electronics-news.blogspot.com/2008/01/low-power-consumption-oscillator.html[/url] Fox Offers New Low Power Consumption Oscillator for Portable Applications
[url]http://hardware-electronics-news.blogspot.com/2008/01/low-power-consumption-oscillator.html[/url] HCMOS ceramic surface mount oscillator
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3220-1-universal-led-driver-features.html[/url] 360mA Universal 18-Channel LED Driver
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3220-1-universal-led-driver-features.html[/url] LTC3220/-1 datasheet
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3220-1-universal-led-driver-features.html[/url] LTC3220/-1: Universal LED Driver Features 360mA Output Current, Independent Control Of 18 LEDs with Low Noise and up to 91% Efficiency
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3220-1-universal-led-driver-features.html[/url] LTC3220/LTC3220-1 datasheet
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3527-1-dual-800ma-400ma-isw-22mhz.html[/url] LTC3527/-1 datasheet
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3527-1-dual-800ma-400ma-isw-22mhz.html[/url] LTC3527/-1: Dual 800mA & 400mA (ISW), 2.2MHz Synchronous Boost Regulator with Output Disconnect in a 3mm x 3mm QFN
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3527-1-dual-800ma-400ma-isw-22mhz.html[/url] LTC3527/-1 dual output 2.2MHz
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3556-switch-mode-usb-power-manager.html[/url] Buck-Boost & Dual Buck Regulator
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3556-switch-mode-usb-power-manager.html[/url] LTC3556 datasheet
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3556-switch-mode-usb-power-manager.html[/url] LTC3556: Switch Mode USB Power Manager, Buck-Boost & Dual Buck Regulator PMIC Maximizes Battery Runtime & Minimizes Heat
[url]http://hardware-electronics-news.blogspot.com/2008/01/ltc3556-switch-mode-usb-power-manager.html[/url] Switch Mode USB Power Manager
[url]http://hardware-electronics-news.blogspot.com/2008/01/microchip-technology-adds-flash-data.html[/url] Features of the PIC16F526 and PIC12F519
[url]http://hardware-electronics-news.blogspot.com/2008/01/microchip-technology-adds-flash-data.html[/url] Microchip Technology Adds Flash Data Memory to the Baseline PIC® Microcontroller Architecture
[url]http://hardware-electronics-news.blogspot.com/2008/01/ocxo-oven-controlled-crystal-oscillator.html[/url] OCXO, Oven Controlled Crystal Oscillator
[url]http://hardware-electronics-news.blogspot.com/2008/01/radio-electronics-tutorials.html[/url] Radio and electronics tutorials
[url]http://hardware-electronics-news.blogspot.com/2008/01/radio-electronics-tutorials.html[/url] Radio and electronics tutorials, news and information
[url]http://hardware-electronics-news.blogspot.com/2008/01/radio-electronics-tutorials.html[/url] Radio-electronics.com - radio and electronics tutorials, news and information
[url]http://hardware-electronics-news.blogspot.com/2008/01/selective-soldering-systems.html[/url] Selective Soldering Systems
[url]http://hardware-electronics-news.blogspot.com/2008/01/simple-continuity-tester.html[/url] EDN's Design Ideas: Simple continuity tester fits into shirt pocket
[url]http://hardware-electronics-news.blogspot.com/2008/01/simple-continuity-tester.html[/url] Simple continuity tester
[url]http://hardware-electronics-news.blogspot.com/2008/01/simple-soft-start-circuit-for-switching.html[/url] Simple soft-start circuit for switching regulators
[url]http://hardware-electronics-news.blogspot.com/2008/01/small-low-power-consumption-oscillator.html[/url] A compact, low power consumption 32.768 kHz HCMOS surface mount oscillator
[url]http://hardware-electronics-news.blogspot.com/2008/01/small-low-power-consumption-oscillator.html[/url] Fox Introduces a small, low power consumption oscillator for time-keeping
[url]http://hardware-electronics-news.blogspot.com/2008/01/use-mclr-pin-as-output-with-pic.html[/url] EDN's Design Ideas: Use the MCLR pin as an output with PIC microcontrollers
[url]http://hardware-electronics-news.blogspot.com/2008/01/white-led-shines-from-piezoelectric.html[/url] EDN's Design Ideas: White LED shines from piezoelectric-oscillator supply
[url]http://hardware-electronics-news.blogspot.com/2008/01/white-led-shines-from-piezoelectric.html[/url] White LED with piezoelectric-oscillator supply
[url]http://hardware-software-electronics.blogspot.com/2008/01/antigravity.html[/url] Antigravity
[url]http://hardware-software-electronics.blogspot.com/2008/01/asus-eeepc-review-why-it-was-love-at.html[/url] ASUS EeePC review: Why it was love at first sight
[url]http://hardware-software-electronics.blogspot.com/2008/01/coanda-effect-demonstration.html[/url] The Coanda Effect demonstration
[url]http://hardware-software-electronics.blogspot.com/2008/01/coanda-effect-rc-flying-saucer-test.html[/url] Coanda Effect RC Flying Saucer test flight
[url]http://hardware-software-electronics.blogspot.com/2008/01/equivalent-series-resistance-meter.html[/url] Equivalent Series Resistance Meter
[url]http://hardware-software-electronics.blogspot.com/2008/01/equivalent-series-resistance-meter.html[/url] ESR Meter
[url]http://hardware-software-electronics.blogspot.com/2008/01/gimp-tutorial-fast-flaming-text.html[/url] Gimp Tutorial - Fast Flaming Text
[url]http://hardware-software-electronics.blogspot.com/2008/01/how-to-find-rss-feeds.html[/url] How to Find RSS Feeds
[url]http://hardware-software-electronics.blogspot.com/2008/01/how-to-walk-in-non-newtonian-fluid.html[/url] How to walk in non-newtonian fluid
[url]http://hardware-software-electronics.blogspot.com/2008/01/how-to-walk-in-non-newtonian-fluid.html[/url] How to walk on non-newtonian fluid
[url]http://hardware-software-electronics.blogspot.com/2008/01/links.html[/url] Links
[url]http://hardware-software-electronics.blogspot.com/2008/01/lt1912-36v-2aiout-500khz-step-down-dcdc.html[/url] LT1912: 36V, 2A(IOUT), 500kHz Step-Down DC/DC Converter in 3mm x 3mm DFN
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] 16-/12-Bit ADCs in MSOP Packages Guaranteed to +125°C
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1860 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1860 LTC1861 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1860 LTC1861 LTC1864 LTC1865: Pin- & Software-Compatible 16-/12-Bit ADCs in MSOP Packages Guaranteed to +125°C
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1861 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1864 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1864/LTC1865: 16-Bit Resolution 250ksps Sample Rate SAR ADCs 
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1864 LTC1865 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] LTC1865 Datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc1860-ltc1861-ltc1864-ltc1865-pin.html[/url] Single 5V Supply, 250ksps, 16-Bit Sampling ADC
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc2302-and-ltc2306-12-bit-1-2-channel.html[/url] 12-Bit, 1-/2-Channel 500ksps SAR ADCs Offer Compact Solution Size and Low Power
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc2302-and-ltc2306-12-bit-1-2-channel.html[/url] LTC2302 and LTC2306: 12-Bit, 1-/2-Channel 500ksps SAR ADCs Offer Compact Solution Size and Low Power
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc2302-and-ltc2306-12-bit-1-2-channel.html[/url] LTC2302 LTC2306 Datasheets
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc4098-high-efficiency-usb-power.html[/url] Autonomous high efficiency power manager, battery charger and ideal diode controller
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc4098-high-efficiency-usb-power.html[/url] LTC4098 datasheet
[url]http://hardware-software-electronics.blogspot.com/2008/01/ltc4098-high-efficiency-usb-power.html[/url] LTC4098: High Efficiency USB Power Manager & Li-Ion Battery Charger Delivers 700mA to System Load from USB and OV Protection
[url]http://hardware-software-electronics.blogspot.com/2008/01/real-footage-ufos-made-in-germany.html[/url] Real Footage: UFOs Made in Germany
[url]http://hardware-software-electronics.blogspot.com/2008/01/x-ufo-full-test-flights-with-x3d-board.html[/url] X-UFO full test flights with the X3D board
[url]http://mylinuxinfo.blogspot.com/2007/07/list-of-linux-howtos.html[/url] List of Linux HOWTOs
[url]http://open-source-data-recovery.blogspot.com/index.html#3409265403078987974[/url] Free data recovery and backup software
[url]http://pcb-howto.blogspot.com/2008/01/desoldering-smd-components-iron.html[/url] Desoldering SMD components using iron
[url]http://pcb-howto.blogspot.com/2008/01/desoldering-smd-components-iron.html[/url] How to desolder SMD components with a iron (video)
[url]http://pcb-howto.blogspot.com/2008/01/desoldering-smd-components-iron.html[/url] How to desolder SMT components with a iron (video)
[url]http://pcb-howto.blogspot.com/2008/01/etch-circuitboards-laser-printer.html[/url] How to make your own circuitboards
[url]http://pcb-howto.blogspot.com/2008/01/etch-circuitboards-laser-printer.html[/url] How to make your own PC boards (video)
[url]http://pcb-howto.blogspot.com/2008/01/etch-circuitboards-laser-printer.html[/url] How to make your own PCBs (video)
[url]http://pcb-howto.blogspot.com/2008/01/etching-pcb.html[/url] Etching a PCB
[url]http://pcb-howto.blogspot.com/2008/01/etching-pcb.html[/url] Etching a PC board (video)
[url]http://pcb-howto.blogspot.com/2008/01/etching-pcb.html[/url] Etching a Printed Circuit Board (video)
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-in-10-minutes.html[/url] How to make a PCB in 10 minutes
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-in-10-minutes.html[/url] How to make a PCB in 10 minutes with a laser printer and iron (video)
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-in-10-minutes.html[/url] Making PCB in 10 minutes with a laser printer and iron (video)
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-laser-printer-laserjet.html[/url] How to make circuit board with laser printer
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-laser-printer-laserjet.html[/url] How to make PC board with laser printer
[url]http://pcb-howto.blogspot.com/2008/01/how-to-make-pcb-laser-printer-laserjet.html[/url] How to make PCB with laser printer
[url]http://pcb-howto.blogspot.com/2008/01/make-printed-circuit-board.html[/url] PCB HOWTOs
[url]http://pcb-howto.blogspot.com/2008/01/make-printed-circuit-board.html[/url] PC Boards HOWTOs
[url]http://pcb-howto.blogspot.com/2008/01/make-printed-circuit-board.html[/url] Printed Circuit Board HOWTOs
[url]http://pcb-howto.blogspot.com/2008/01/making-pcb.html[/url] How to make PCB with a laser printer (video)
[url]http://pcb-howto.blogspot.com/2008/01/making-pcb.html[/url] Making PCB
[url]http://pcb-howto.blogspot.com/2008/01/pcb-etching-inkjet-picture-paper-laser.html[/url] Howto PCB etching with laser printer and inkjet picture paper (video)
[url]http://pcb-howto.blogspot.com/2008/01/pcb-etching-inkjet-picture-paper-laser.html[/url] PCB etching with inkjet picture paper and laser printer
[url]http://pcb-howto.blogspot.com/2008/01/pcb-etching-machine.html[/url] PCB Etching Machine
[url]http://pcb-howto.blogspot.com/2008/01/pcb-etching-machine.html[/url] PC Board Etching Machine (video)
[url]http://pcb-howto.blogspot.com/2008/01/pcb-etching-machine.html[/url] Printed Circuit Board Etching Machine (video)
[url]http://pcb-howto.blogspot.com/2008/01/repair-pcb-trace.html[/url] How to repair a circuit board trace (video)
[url]http://pcb-howto.blogspot.com/2008/01/repair-pcb-trace.html[/url] How to repair a PCB trace
[url]http://pcb-howto.blogspot.com/2008/01/repair-pcb-trace.html[/url] How to repair a PCB trace (video)
[url]http://pcb-howto.blogspot.com/[/url] PCB HowTo
[url]http://pcb-software-howto.blogspot.com/2008/01/free-open-source-pcb-design.html[/url] Free and open source PCB design software
[url]http://physics-fun-videos.blogspot.com/2008/01/60-pounds-of-dry-ice-and-swimming-pool.html[/url] 60 pounds of dry ice and a swimming pool
[url]http://physics-fun-videos.blogspot.com/2008/01/coanda-effect-demonstration-of-working.html[/url] Coanda Effect demonstration of working principle
[url]http://physics-fun-videos.blogspot.com/2008/01/coanda-effect-flying-saucer-demo.html[/url] Coanda Effect Flying Saucer demo
[url]http://physics-fun-videos.blogspot.com/2008/01/coanda-effect-rc-flying-saucer-test.html[/url] Coanda Effect RC Flying Saucer test flight
[url]http://physics-fun-videos.blogspot.com/2008/01/coanda-effect-with-balloon.html[/url] Coanda Effect with a balloon
[url]http://physics-fun-videos.blogspot.com/2008/01/coanda-uav.html[/url] Coanda UAV
[url]http://physics-fun-videos.blogspot.com/2008/01/dry-ice-bomb.html[/url] Dry Ice Bomb
[url]http://physics-fun-videos.blogspot.com/2008/01/dry-ice-bomb-under-ice.html[/url] Dry Ice Bomb under Ice
[url]http://physics-fun-videos.blogspot.com/2008/01/dry-ice-experiment.html[/url] Dry ice experiment
[url]http://physics-fun-videos.blogspot.com/2008/01/high-speed-flight-with-qro-v21-mav.html[/url] High Speed flight with the QRO v2.1 MAV
[url]http://physics-fun-videos.blogspot.com/2008/01/honeywell-micro-air-vehicle.html[/url] Honeywell micro air vehicle
[url]http://physics-fun-videos.blogspot.com/2008/01/liquid-nitrogen-into-swimming-pool.html[/url] Liquid Nitrogen Into A Swimming Pool
[url]http://physics-fun-videos.blogspot.com/2008/01/non-newtonian-fluid.html[/url] Non-Newtonian Fluid
[url]http://physics-fun-videos.blogspot.com/2008/01/opensource-quadrocopter.html[/url] OpenSource Quadrocopter
[url]http://physics-fun-videos.blogspot.com/2008/01/pool-filled-with-non-newtonian-fluid.html[/url] A pool filled with non-newtonian fluid
[url]http://physics-fun-videos.blogspot.com/2008/01/sphere-of-water-zero-gravity.html[/url] Sphere of water (zero gravity)
[url]http://physics-fun-videos.blogspot.com/2008/01/ufo-antigravity-or-coanda-effect-man.html[/url] UFO-Antigravity or Coanda Effect man made saucers or planes
[url]http://physics-fun-videos.blogspot.com/2008/01/underwater-c02-bomb-dry-ice.html[/url] Underwater C02 Bomb (Dry Ice)
[url]http://slackwareart.blogspot.com/2007/07/midnight-commander-with-utf-8-support.html[/url] Midnight Commander with UTF-8 support
[url]http://slackwareart.blogspot.com/2007/07/ndyndns-dynamic-dns-client.html[/url] Dynamic DNS service
[url]http://slackwareart.blogspot.com/2007/07/using-usb-memory-sticks-with-slackware.html[/url] Using USB memory sticks with Slackware Linux
[url]http://slackwareart.blogspot.com/2007/07/wput-opposite-of-wget.html[/url] Wput - opposite of wget

END_OF_DATA

# === Край на настройките, редактирани от потребителя ===

my $template_link = <<END;
      <item>
         <title>__title__</title>
         <link>__url__</link>
         <description><![CDATA[__description__]]></description>
      </item>
END

my $template_area_of_links = <<END;
<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Links</title>
      <link>http://hardware-software-electronics.blogspot.com/</link>
      <description>Random links.</description>

__insert_links_here__

   </channel>
</rss>
END


sub fix_broken_url {
my $this_url=$_[0];  $this_url=~ s/&(?!amp;)/&amp;/g;  return $this_url;
}

sub strToHTML {
  my $text = shift;
  $text =~ s|\&|\&amp\;|g;      # convert all '&' to "&amp;" (must be first)
  $text =~ s|\"|\&quot\;|g;     # convert all '"' to "&quot;"
  $text =~ s|<|\&lt\;|g;        # convert all '<' to "&lt;"
  $text =~ s|>|\&gt\;|g;        # convert all '>' to "&gt;"
#  $text =~ s|\n|
\n|g;       # convert all line feeds to "
" and line feed
  return $text;
} # end sub strToHTML


# Прочита цял файл
sub load_entire_file {
my $data; undef $/; # Разделителят на входни записи се изпразва - чете се целия файл наведнъж
 open(DAT, $_[0]) || die "Грешка при отваряне на файла $_[0]\n";
   binmode(DAT,':utf8'); # четене на файл с кодиране Уникод UTF-8
   $data=<DAT>;
 close(DAT);
return $data;
}

# Записва html файл.
# Ползване: write_html_file("файл",$съдържание);
sub write_html_file {
my $ofile=$_[0];
my $htmlcode=$_[1];
  open(outpF, ">".$ofile);
  binmode(outpF,':utf8'); # запис на файл с кодиране Уникод UTF-8
  print outpF $htmlcode;
 close(outpF);
}

# ** Създаване на масиви с информация за връзките **

my @lines = split /\n/, $data;
my $line;

my @links_title;
my @links_url;
my @links_description;

my $pattern_all='\s\S';
my $pattern_url='\S';

foreach $line (@lines) {

if ($line=~m#([$pattern_url]+) ([$pattern_all]+)# ) {
push @links_url,fix_broken_url($1);
push @links_title,fix_broken_url(strToHTML($2)); # compatible with Blogger
push @links_description,strToHTML($2);
}

}


# *** Подпрограми ***

# Генерира $_[0] случайни числа от 0 до $_[1]
sub make_array_of_uniq_random_nubmers {
my %random_numbers;
my @arr;
my $random_number;
my $how_many="$_[0]";
my $range="$_[1]";

# ако броят на случайните числа, които трябва
# да се генерират е по-голям от броя на възможните:
if ( $how_many > $range  ) { $how_many = $range }

while (($#arr+1) < $how_many ) {
$random_number = int(rand($range));
$random_numbers{$random_number." "}="";
@arr = keys %random_numbers;
}

return @arr;
}

# параметър: брой на желаните случайни новини
sub make_random_news {
my $this_lnk;
my @arr = make_array_of_uniq_random_nubmers($_[0],$#links_url);
my $this_item;
my $tmp;
my $area=$template_area_of_links;

	foreach $this_lnk (@arr)  {
	 $this_item=$template_link;
	 $this_item=~ s/__title__/$links_title[$this_lnk]/g;
	 $this_item=~ s/__url__/$links_url[$this_lnk]/g;
	 $this_item=~ s/__description__/$links_description[$this_lnk]/g;
	 $tmp=$tmp.$this_item
	}
$area=~ s/__insert_links_here__/$tmp/g;
return $area;
}

my $news = make_random_news($how_many_random_news);

print "Content-type: application/xhtml+xml\n\n";

print $news;

Скрипта в действие:
http://data-recovery.freehostia.com/rss.pl
http://data-recovery.freehostia.com/data_recovery_rss.pl
http://data-recovery.freehostia.com/electronics_rss.pl
http://data-recovery.freehostia.com/physics_rss.pl

Идеята на този скрипт е да се направи съдържанието на блога динамично (Blogger поддържа RSS feeds и от време на време проверява за промени и актуализира страниците).

Текста от "my $data = <<END_OF_DATA;" до "END_OF_DATA" е списък с връзки в много прост формат („адрес текст“ следващ ред „адрес текст“ и т.н. (има един интервал между адреса и текста)). С променливата $how_many_random_news се определя колко случайни връзки да се генерират.

Написал съм и други скриптове (напр. автоматично добавяне на нови връзки в списъка), но ще ги публикувам друг път (когато ги приведа в по-приличен вид).

Blogger кешира данните, получени от RSS. Ако желаете да обновите страниците си веднага (вместо да чакате на Blogger да му мине случайния интервал от време, след който се обновява кеша), редактирайте адреса на RSS-а като добавите „?някакъв_случаен_низ“:

http://data-recovery.freehostia.com/rss.pl?547454654564
 
georgimateev каза:
Т'ва горното огромното защо не го научите да си взима динамично линковете и заглавията? ;)

Може да се направи при всяко стартиране да се проверява дали едно случайно число е равно на някаква константа и ако се наблюдава равенство да тегли RSS от други сайтове и да ги добавя във файл (напр. средно на всеки 10 посещения), но ако е на безплатен хостинг собственикът няма да е много доволен (обикновено го пише в условията за ползване: скрипта, стартиран на сървъра да не взима съдържание от други сайтове, което правят например уеб прокситата от рода на php proxy). Ако хостингът поддържа crond ще отпадне проверката на случайното число дали е равно на някаква константа.

Тази забрана се заобикаля като обновяването на скрипта става на друг компютър и се качва чрез ръчно стартиране на един скрипт, който си събира каквото трябва от където трябва.
 
happyslacker

така го обясни че сякаш всички сме програмисти :D и пак неможах да загрея кое от какво взима :D
 
happyslacker

така го обясни че сякаш всички сме програмисти :D и пак неможах да загрея кое от какво взима :D

Извинете за въпроса, но тези скрипт с рандом постовете на RSS, къде точно да го събмитна ? Знам, че Гугъл харесва чести промени по съдържанието на даден сайт, на това в случая е RSS фийд, и не зацепвам какво Гугъл може да направи с нея... ?
 
един може би странен въпрос от мен: събмитвате ли фийдс в изброените директории от сайтове с български кънтент? Доколкото виждам директориите са нон бг и не знам има ли смисъл да събмитвам rss от един мой кирилишки блог :)
ако не къде събмитвате такива?
 
Аз лично мисля че няма смисъл, бате. Все пак като не го разбират езика няма да те четат даже и да излезеш в някоя директория за дадена категоря. Но все пак са много, може да се поразровиш дали някои имат и други езици. Малко ме съмнява за нашият, но все пак проба-грешка.:)
 
Добре си дошъл бате. Кофти е, но нямаме още добре затвърдени блог директории на български. Пропуск, но факт. И това ще се развие скоро.:) Ето идеят за някой, който иска да оперира в тази ниша. Може да избира между няколко модела - блог директория, Rss feed агрегатор, Бг Диг.....:)
 
Навсякаде ли бухате rss-feedо-вете,да докарват всякакв трафик? Или си подбирате директориите да идва само таргетиран трафик? Щото не в всяка директория има примерно за хазарт както е в моя случеи, и се чудя наред ли да дера, или да подбирам.
 
Еми то е хубаво да идва повече трафик, от къде ли не. А и да в не всяка директория има категория отговаряща на тематика на даден блог, но винаги може да се намери сходна или близка до нея. Примерно в твоят случай е Забавления -> Игри....

Аз лично наред ги опрашвам:) Все си намирам категория. Даже малко или много блога ти е инфо ресурс, което може да попадне и в категоря - Education.:) Зависи колко си алчен за трафик от този вид стратегия.:)

Успехи...
 

Горе