# Web sources framework

**URL:** https://community.mp3tag.de/t/web-sources-framework/1633
**Category:** Web Sources Scripts
**Created:** [January 18, 2005, 1:14pm UTC](https://community.mp3tag.de/t/web-sources-framework/1633 "2005-01-18T13:14:11Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [April 6, 2011, 7:46pm UTC](https://community.mp3tag.de/t/web-sources-framework/1633/13 "2011-04-06T19:46:00Z")

</div>

Hi Florian,

I think it is a good idea to introduce some king of **INCLUDE .** command so certain code can be reused in Web Source files (.src).

I have mention this idea in [Web Source Framework Discussion](https://community.mp3tag.de/t/1682/1) topic.  
E.g. add following block to a separate file.

```
# Album
outputto "Album"
findline "class=\"profile"
findline "href=\"/artist"
regexpreplace "^.+</a>" "</a>"
findinline "</a>"
findinline " - "
sayuntil "</h1>"

```

INCLUDE this file in .src file. Changing included file would affect all related .src files.

Thank you,  
Victor

---

_[View the full topic](https://community.mp3tag.de/t/web-sources-framework/1633)._
