<div dir="ltr">Oh!! is that what that is!, however you can still see this in the patch, that is why I was confused. I will take a look at that,<div><br></div><div>thanks Roman.</div><div><br></div><div>BTW, is there a method to get the file name that you open in the patch? something like canvasname but from the parent itself? (donno if I am explaining myself properly here)</div><div><br></div><div>cheers </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 8:36 PM, Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Don, 2016-10-06 at 16:39 +0100, José Rafael Subía Valdez wrote:<br>
> I dont know if it has been discussed, I have searched the archives<br>
> but didnt find anything simliar.<br>
><br>
> would there be a way to write a META DATA section at the end of a .pd<br>
> file?<br>
> I guess this is more of a request. But what if there was a META DATA<br>
> section available to record things that would be "binded" (don't know<br>
> if "bound" is the word) to the file. Maybe this could be an open -<br>
> available- part of the pd file for users. I have been trying to do<br>
> this in PD by simply writing at the end of the file and then with the<br>
> [text] object or any similar go to the section where I would have my<br>
> meta data. The problem is that pd erases this section when saving the<br>
> file.<br>
><br>
> thoughts? <br>
<br>
</span>Yes. Have a look at help patches of many libraries (for instance zexy<br>
or osc). They do use meta data by putting comments into a subpatch<br>
named [pd META]. This has two advantages over what you propose:<br>
<br>
* You can edit/add them with Pd <br>
* You can easily parse them with Pd (with [text], for instance)<br>
<br>
netpd uses a similar kind of meta tags for declaring version,<br>
dependencies and other stuff. The only difference is that the subpatch<br>
is named [pd NETPD 2 0] (2 0 being the version of the meta data format)<br>
and it uses message boxes instead of comments. Check [netpd-properties]<br>
if you're interested in seeing how such a meta tag parser could be<br>
implemented in Pd.<br>
<br>
<a href="https://github.com/reduzent/netpd" rel="noreferrer" target="_blank">https://github.com/reduzent/<wbr>netpd</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Roman</font></span><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">José Rafael Subía Valdez<br><div><a href="http://www.jrsv.net" target="_blank">www.jrsv.net</a><br><div><br></div><div><br><div><br><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div></div></div></div></div>
</div>