Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Pierre-Eric Marchandet
    @PEM--
    You've killed me twice :smile:
    When do you plan on releasing the new API?
    Yasin Uslu
    @yasinuslu
    i dont plan to change API
    we can just add another method for ld-json
    and some other for g+
    Pierre-Eric Marchandet
    @PEM--
    OK, I will check the code and provide 2 PR. One for rich snippets and the second for G+
    Pretty neat. It's like instant advertisement at no expense :smile:
    Yasin Uslu
    @yasinuslu
    it's really neat :) just like the one you see when you search yourself :D
    Pierre-Eric Marchandet
    @PEM--
    Exactly.
    Though searching for myself seems a bit selfish :smile:
    Keep you posted and thanks again for your package. A real time saver.
    Yasin Uslu
    @yasinuslu
    Thanks in advance for PR
    you might wanna make sure you dont have any bad search results :)
    Pierre-Eric Marchandet
    @PEM--
    Well, and sometime, I lost myself... Not sure Google can do something about it :smile:
    Yasin Uslu
    @yasinuslu
    :D
    david castillo
    @ecuanaso
    is it possible to use this with orionjs? that i build a form in the orionjs admin panel that consists of a form to enter meta information
    bradynapier
    @bradynapier
    Hmm, this doesn't seem to do anything for me after installation. Should I not be able to call the functions from any part of my app?
    My title is "Default Title" and i can't change it... copied the example exactly to test.
    log shows the function is triggered
    at yet again the second i ask the question i find the answer
    fixed, thanks
    bradynapier
    @bradynapier
    Hmm, the title did change but I don't see that it is updated in view source and/or i don't see the apple meta tags I added! I'm guessing that has to do with how google chrome gets source or something
    Aaron Adams
    @aadamsx

    I have the following code running in the /client directory, it doesn't set the company every time on local and on my staging box I can never get the text tab to change:

      Tracker.autorun(function () {
        var config = Meteor.subscribe('public_configuration');
        if (config.ready()) {
    
          var company = configurations.findOne({ configuration_type: 'public' });
          console.log('meta config | company: ', company);
    
          if (company && company.company_name) {
            // Gets you 'Company Name' as a default title not 'Default Title'
            console.log('meta config | company name: ', company.company_name);
            Meta.config({
              options: {
                title: company.company_name,
                suffix: company.company_name
              }
            });
          }
        }
      });

    I get this from the Chrome console, so I know it's picking up company name and running the code:

    meta config | company:  Object
    meta-tracker.js:33 meta config | company name:  Test Inc.

    On initial load it will not set, then if I refresh the page the company name will get set properly. Then if I hit refresh again, it will revert back to localhost:3000. On other times it says with the company name. And this is on my local box. There seems to be no pattern for it to set the title properly.

    When I deploy to staging, I can never get the tab title to change with the same code.

    What am I doing wrong?

    Aaron Adams
    @aadamsx
    I got the tab working by calling Meta.setTitle(company.company_name); right after I set the config. I guess I don't even have to set the Meta.config then?